public interface NewExternalIssue
Sensor
.
Don't forget to save()
after setting the fields.Modifier and Type | Method and Description |
---|---|
NewExternalIssue |
addFlow(java.lang.Iterable<NewIssueLocation> flowLocations)
Register a flow for this issue.
|
NewExternalIssue |
addLocation(NewIssueLocation secondaryLocation)
Add a secondary location for this issue.
|
NewExternalIssue |
at(NewIssueLocation primaryLocation)
Primary location for this issue.
|
NewExternalIssue |
forRule(RuleKey ruleKey)
The
RuleKey of the issue. |
NewIssueLocation |
newLocation()
Create a new location for this issue.
|
NewExternalIssue |
remediationEffortMinutes(java.lang.Long effortInMinutes)
Effort to fix the issue, in minutes.
|
void |
save()
Save the issue.
|
NewExternalIssue |
severity(Severity severity)
Set the severity of the issue.
|
NewExternalIssue |
type(RuleType type)
Type of issue.
|
NewExternalIssue forRule(RuleKey ruleKey)
RuleKey
of the issue.NewExternalIssue type(RuleType type)
NewExternalIssue remediationEffortMinutes(@Nullable java.lang.Long effortInMinutes)
NewExternalIssue severity(Severity severity)
NewExternalIssue at(NewIssueLocation primaryLocation)
NewExternalIssue addLocation(NewIssueLocation secondaryLocation)
NewExternalIssue addFlow(java.lang.Iterable<NewIssueLocation> flowLocations)
NewIssueLocation newLocation()
void save()