Interface PostJobIssue
-
public interface PostJobIssueRepresents 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.StringcomponentKey()Component key like foo:src/Foo.phpInputComponentinputComponent()TheInputComponentthis issue belongs to.booleanisNew()If the issue a new one.java.lang.Stringkey()Key of the issue.java.lang.Integerline()Line of the issue.java.lang.Stringmessage()Message of the issue.RuleKeyruleKey()TheRuleKeyof this issue.Severityseverity()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()
TheInputComponentthis 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.
-
-