org.sonar.api.batch.analyzer.issue
Interface AnalyzerIssue

All Known Implementing Classes:
DefaultAnalyzerIssue

@Beta
public interface AnalyzerIssue

Issue reported by an Analyzer

Since:
4.4

Method Summary
 Double effortToFix()
          Effort to fix the issue.
 InputFile inputFile()
          The InputFile this issue belongs to.
 Integer line()
          Line of the issue.
 String message()
          Message of the issue.
 RuleKey ruleKey()
          The RuleKey of this issue.
 

Method Detail

inputFile

@Nullable
InputFile inputFile()
The InputFile this issue belongs to. Returns null if issue is global to the project.


ruleKey

RuleKey ruleKey()
The RuleKey of this issue.


message

String message()
Message of the issue.


line

Integer line()
Line of the issue.


effortToFix

@Nullable
Double effortToFix()
Effort to fix the issue. Used by technical debt model.



Copyright © 2009-2014 SonarSource. All Rights Reserved.