public abstract class SingleCheck extends Object implements Comparable<SingleCheck>
| Modifier and Type | Field and Description |
|---|---|
protected AnalyzerConfiguration |
configuration |
protected boolean |
hasIssues |
protected RuleInspector |
ruleInspector |
| Constructor and Description |
|---|
SingleCheck(RuleInspector ruleInspector,
AnalyzerConfiguration configuration,
CheckType checkType) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SingleCheck singleCheck) |
protected CheckType |
getCheckType() |
protected abstract Severity |
getDefaultSeverity() |
Issue |
getIssue() |
RuleInspector |
getRuleInspector() |
boolean |
hasIssues() |
boolean |
isActive(CheckConfiguration checkConfiguration) |
protected abstract Issue |
makeIssue(Severity severity,
CheckType checkType) |
protected Severity |
resolveSeverity() |
protected final RuleInspector ruleInspector
protected final AnalyzerConfiguration configuration
protected boolean hasIssues
public SingleCheck(RuleInspector ruleInspector, AnalyzerConfiguration configuration, CheckType checkType)
protected CheckType getCheckType()
public RuleInspector getRuleInspector()
public int compareTo(SingleCheck singleCheck)
compareTo in interface Comparable<SingleCheck>protected abstract Severity getDefaultSeverity()
public boolean isActive(CheckConfiguration checkConfiguration)
protected Severity resolveSeverity()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.