public class DefaultIssue extends AbstractDefaultIssue<DefaultIssue> implements Issue, NewIssue
Issue.Flow
flows, primaryLocation, ruleKey
storage
Constructor and Description |
---|
DefaultIssue() |
DefaultIssue(SensorStorage storage) |
Modifier and Type | Method and Description |
---|---|
void |
doSave() |
java.lang.Double |
effortToFix()
Effort to fix the issue.
|
DefaultIssue |
effortToFix(java.lang.Double effortToFix)
Effort to fix the issue.
|
java.lang.Double |
gap()
Gap used to compute the effort for fixing the issue.
|
DefaultIssue |
gap(java.lang.Double gap)
Gap used for the computation of the effort.
|
Severity |
overriddenSeverity()
Overridden severity.
|
DefaultIssue |
overrideSeverity(Severity severity)
Override severity of the issue.
|
IssueLocation |
primaryLocation()
Primary locations for this issue.
|
addFlow, addLocation, at, flows, forRule, newLocation, ruleKey
save, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addFlow, addLocation, at, forRule, newLocation, save
public DefaultIssue()
public DefaultIssue(@Nullable SensorStorage storage)
public DefaultIssue effortToFix(@Nullable java.lang.Double effortToFix)
NewIssue
effortToFix
in interface NewIssue
public DefaultIssue gap(@Nullable java.lang.Double gap)
NewIssue
public DefaultIssue overrideSeverity(@Nullable Severity severity)
NewIssue
overrideSeverity
in interface NewIssue
public Severity overriddenSeverity()
Issue
overriddenSeverity
in interface Issue
public java.lang.Double gap()
Issue
public java.lang.Double effortToFix()
Issue
effortToFix
in interface Issue
public IssueLocation primaryLocation()
Issue
primaryLocation
in interface IIssue
primaryLocation
in interface Issue
primaryLocation
in class AbstractDefaultIssue<DefaultIssue>
public void doSave()
doSave
in class DefaultStorable