Groovy Documentation

org.codenarc.rule
Class Violation

java.lang.Object
  org.codenarc.rule.Violation

class Violation

Represents a single instance of a rule violation

author:
Chris Mair
version:
$Revision: 51 $ - $Date: 2009-02-19 20:07:05 -0500 (Thu, 19 Feb 2009) $


Property Summary
Integer lineNumber

String message

Rule rule

String sourceLine

 
Constructor Summary
Violation()

 
Method Summary
String toString()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Property Detail

lineNumber

Integer lineNumber


message

String message


rule

Rule rule


sourceLine

String sourceLine


 
Constructor Detail

Violation

Violation()


 
Method Detail

toString

String toString()


 

Groovy Documentation