public class RuleViolation extends java.lang.Object implements IRuleViolation
| Modifier and Type | Class and Description |
|---|---|
static class |
RuleViolation.RuleViolationComparator |
| Constructor and Description |
|---|
RuleViolation(Rule rule,
RuleContext ctx,
SimpleNode node) |
RuleViolation(Rule rule,
RuleContext ctx,
SimpleNode node,
java.lang.String specificMsg) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBeginColumn() |
int |
getBeginLine() |
java.lang.String |
getClassName() |
java.lang.String |
getDescription() |
int |
getEndColumn() |
int |
getEndLine() |
java.lang.String |
getFilename() |
java.lang.String |
getMethodName() |
java.lang.String |
getPackageName() |
Rule |
getRule() |
java.lang.String |
getVariableName() |
boolean |
isSuppressed() |
java.lang.String |
toString() |
public RuleViolation(Rule rule, RuleContext ctx, SimpleNode node)
public RuleViolation(Rule rule, RuleContext ctx, SimpleNode node, java.lang.String specificMsg)
public Rule getRule()
getRule in interface IRuleViolationpublic boolean isSuppressed()
isSuppressed in interface IRuleViolationpublic int getBeginColumn()
getBeginColumn in interface IRuleViolationpublic int getEndColumn()
getEndColumn in interface IRuleViolationpublic java.lang.String getDescription()
getDescription in interface IRuleViolationpublic java.lang.String getFilename()
getFilename in interface IRuleViolationpublic java.lang.String getClassName()
getClassName in interface IRuleViolationpublic java.lang.String getMethodName()
getMethodName in interface IRuleViolationpublic java.lang.String getPackageName()
getPackageName in interface IRuleViolationpublic int getBeginLine()
getBeginLine in interface IRuleViolationpublic int getEndLine()
getEndLine in interface IRuleViolationpublic java.lang.String getVariableName()
getVariableName in interface IRuleViolationpublic java.lang.String toString()
toString in class java.lang.Object