Examples of onProject()


Examples of org.sonar.api.batch.sensor.issue.internal.DefaultIssue.onProject()

  @Override
  public Object get(Value value, Class clazz, CoderContext context) {
    DefaultIssue newIssue = new DefaultIssue();
    newIssue.withKey(value.getString());
    if (value.isNull(true)) {
      newIssue.onProject();
    } else {
      int type = value.getInt();
      String moduleKey = value.getString();
      String relativePath = value.getString();
      if (type == 0) {
View Full Code Here

Examples of org.sonar.api.batch.sensor.measure.internal.DefaultMeasure.onProject()

    if (moduleKey != null) {
      String relativePath = value.getString();
      InputFile f = inputPathCache.getFile(moduleKey, relativePath);
      newMeasure.onFile(f);
    } else {
      newMeasure.onProject();
    }
    Metric m = metricFinder.findByKey(value.getString());
    newMeasure.forMetric(m);
    newMeasure.withValue((Serializable) value.get());
    return newMeasure;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.