Interface PostJobIssue
-
public interface PostJobIssue
Represents an issue state at the end of the scanner analysis in preview/issues mode.- Since:
- 5.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
componentKey()
Component key like foo:src/Foo.phpInputComponent
inputComponent()
TheInputComponent
this issue belongs to.boolean
isNew()
If the issue a new one.java.lang.String
key()
Key of the issue.java.lang.Integer
line()
Line of the issue.java.lang.String
message()
Message of the issue.RuleKey
ruleKey()
TheRuleKey
of this issue.Severity
severity()
Severity.
-
-
-
Method Detail
-
key
java.lang.String key()
Key of the issue.
-
componentKey
java.lang.String componentKey()
Component key like foo:src/Foo.php
-
inputComponent
@CheckForNull InputComponent inputComponent()
TheInputComponent
this issue belongs to. Returns null if component was deleted (for resolved issues).
-
line
@CheckForNull java.lang.Integer line()
Line of the issue. Null for global issues and issues on directories. Can also be null for files (issue global to the file).
-
message
@CheckForNull java.lang.String message()
Message of the issue.
-
severity
Severity severity()
Severity.
-
isNew
boolean isNew()
If the issue a new one.
-
-