public class DefaultIssue extends AbstractDefaultIssue<DefaultIssue> implements Issue, NewIssue
Issue.Flow
flows, primaryLocation, project
storage
Constructor and Description |
---|
DefaultIssue(DefaultInputProject project) |
DefaultIssue(DefaultInputProject project,
SensorStorage storage) |
Modifier and Type | Method and Description |
---|---|
void |
doSave() |
DefaultIssue |
forRule(RuleKey ruleKey)
The
RuleKey of 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.
|
RuleKey |
ruleKey()
The
RuleKey of this issue. |
addFlow, addLocation, at, flows, newLocation
save, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addFlow, addLocation, at, newLocation, save
public DefaultIssue(DefaultInputProject project)
public DefaultIssue(DefaultInputProject project, @Nullable SensorStorage storage)
public DefaultIssue forRule(RuleKey ruleKey)
NewIssue
RuleKey
of the issue.public RuleKey ruleKey()
IIssue
RuleKey
of this issue.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 IssueLocation primaryLocation()
Issue
primaryLocation
in interface IIssue
primaryLocation
in interface Issue
primaryLocation
in class AbstractDefaultIssue<DefaultIssue>
public void doSave()
doSave
in class DefaultStorable