net.sourceforge.pmd
Class RuleViolation

java.lang.Object
  extended bynet.sourceforge.pmd.RuleViolation

public class RuleViolation
extends java.lang.Object


Nested Class Summary
static class RuleViolation.RuleViolationComparator
           
 
Constructor Summary
RuleViolation(Rule rule, RuleContext ctx, SimpleNode node)
           
RuleViolation(Rule rule, RuleContext ctx, SimpleNode node, java.lang.String specificMsg)
           
 
Method Summary
 int getBeginLine()
           
 java.lang.String getClassName()
           
 java.lang.String getDescription()
           
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuleViolation

public RuleViolation(Rule rule,
                     RuleContext ctx,
                     SimpleNode node)

RuleViolation

public RuleViolation(Rule rule,
                     RuleContext ctx,
                     SimpleNode node,
                     java.lang.String specificMsg)
Method Detail

getRule

public Rule getRule()

isSuppressed

public boolean isSuppressed()

getDescription

public java.lang.String getDescription()

getFilename

public java.lang.String getFilename()

getClassName

public java.lang.String getClassName()

getMethodName

public java.lang.String getMethodName()

getPackageName

public java.lang.String getPackageName()

getBeginLine

public int getBeginLine()

getEndLine

public int getEndLine()

getVariableName

public java.lang.String getVariableName()

toString

public java.lang.String toString()