public abstract class AbstractDefaultIssue<T extends AbstractDefaultIssue> extends DefaultStorable
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.util.List<IssueLocation>> |
flows |
protected IssueLocation |
primaryLocation |
protected RuleKey |
ruleKey |
storage
Modifier | Constructor and Description |
---|---|
protected |
AbstractDefaultIssue() |
|
AbstractDefaultIssue(SensorStorage storage) |
Modifier and Type | Method and Description |
---|---|
T |
addFlow(java.lang.Iterable<NewIssueLocation> locations) |
T |
addLocation(NewIssueLocation secondaryLocation) |
T |
at(NewIssueLocation primaryLocation) |
java.util.List<Issue.Flow> |
flows() |
T |
forRule(RuleKey ruleKey) |
NewIssueLocation |
newLocation() |
IssueLocation |
primaryLocation() |
RuleKey |
ruleKey() |
doSave, save, toString
protected RuleKey ruleKey
protected IssueLocation primaryLocation
protected java.util.List<java.util.List<IssueLocation>> flows
protected AbstractDefaultIssue()
public AbstractDefaultIssue(@Nullable SensorStorage storage)
public RuleKey ruleKey()
public IssueLocation primaryLocation()
public java.util.List<Issue.Flow> flows()
public NewIssueLocation newLocation()
public T at(NewIssueLocation primaryLocation)
public T addLocation(NewIssueLocation secondaryLocation)
public T addFlow(java.lang.Iterable<NewIssueLocation> locations)