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 IRuleViolation
public boolean isSuppressed()
isSuppressed
in interface IRuleViolation
public int getBeginColumn()
getBeginColumn
in interface IRuleViolation
public int getEndColumn()
getEndColumn
in interface IRuleViolation
public java.lang.String getDescription()
getDescription
in interface IRuleViolation
public java.lang.String getFilename()
getFilename
in interface IRuleViolation
public java.lang.String getClassName()
getClassName
in interface IRuleViolation
public java.lang.String getMethodName()
getMethodName
in interface IRuleViolation
public java.lang.String getPackageName()
getPackageName
in interface IRuleViolation
public int getBeginLine()
getBeginLine
in interface IRuleViolation
public int getEndLine()
getEndLine
in interface IRuleViolation
public java.lang.String getVariableName()
getVariableName
in interface IRuleViolation
public java.lang.String toString()
toString
in class java.lang.Object