Package org.sonar.java.reporting
Class JavaIssue
java.lang.Object
org.sonar.java.reporting.JavaIssue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFlow(org.sonar.api.batch.fs.InputFile file, List<List<AnalyzerMessage>> flows) addSecondaryLocation(org.sonar.api.batch.fs.InputFile file, int startLine, int startLineOffset, int endLine, int endLineOffset, String message) static JavaIssuecreate(org.sonar.api.batch.sensor.SensorContext context, org.sonar.api.rule.RuleKey ruleKey, Double effortToFix) voidsave()setPrimaryLocation(org.sonar.api.batch.fs.InputFile file, String message, int startLine, int startLineOffset, int endLine, int endLineOffset) setPrimaryLocationOnComponent(org.sonar.api.batch.fs.InputComponent fileOrProject, String message)
-
Constructor Details
-
JavaIssue
public JavaIssue(org.sonar.api.batch.sensor.issue.NewIssue newIssue)
-
-
Method Details
-
create
-
setPrimaryLocationOnComponent
-
setPrimaryLocation
-
addSecondaryLocation
-
addFlow
-
save
public void save()
-