public static interface Issuable.IssueBuilder
Modifier and Type | Method and Description |
---|---|
Issuable.IssueBuilder |
addFlow(java.lang.Iterable<NewIssueLocation> flowLocations) |
Issuable.IssueBuilder |
addLocation(NewIssueLocation secondaryLocation) |
Issuable.IssueBuilder |
at(NewIssueLocation primaryLocation) |
Issuable.IssueBuilder |
attribute(java.lang.String key,
java.lang.String value)
No more supported from batch side since 5.2
|
Issue |
build() |
Issuable.IssueBuilder |
effortToFix(java.lang.Double d) |
Issuable.IssueBuilder |
line(java.lang.Integer line)
Deprecated.
since 5.2 use
at(NewIssueLocation) |
Issuable.IssueBuilder |
message(java.lang.String message)
Deprecated.
since 5.2 use
at(NewIssueLocation) |
NewIssueLocation |
newLocation() |
Issuable.IssueBuilder |
reporter(java.lang.String reporter)
Deprecated.
since 5.5, manual issue feature has been dropped.
|
Issuable.IssueBuilder |
ruleKey(RuleKey ruleKey)
The rule key is mandatory.
|
Issuable.IssueBuilder |
severity(java.lang.String severity)
Overrides the severity declared in Quality profile.
|
Issuable.IssueBuilder ruleKey(RuleKey ruleKey)
RuleKey.of("pmd", "AvoidArrayLoops")
@Deprecated Issuable.IssueBuilder line(@Nullable java.lang.Integer line)
at(NewIssueLocation)
@Deprecated Issuable.IssueBuilder message(@Nullable java.lang.String message)
at(NewIssueLocation)
Issue.MESSAGE_MAX_SIZE
characters.NewIssueLocation newLocation()
Issuable.IssueBuilder at(NewIssueLocation primaryLocation)
Issuable.IssueBuilder addLocation(NewIssueLocation secondaryLocation)
NewIssue.addLocation(NewIssueLocation)
Issuable.IssueBuilder addFlow(java.lang.Iterable<NewIssueLocation> flowLocations)
NewIssue.addFlow(Iterable)
Issuable.IssueBuilder severity(@Nullable java.lang.String severity)
Severity
@Deprecated @CheckForNull Issuable.IssueBuilder reporter(@Nullable java.lang.String reporter)
Issuable.IssueBuilder effortToFix(@Nullable java.lang.Double d)
Issuable.IssueBuilder attribute(java.lang.String key, @Nullable java.lang.String value)
Issue build()