org.codenarc.rule
Class Violation
java.lang.Object
org.codenarc.rule.Violation
- All Implemented Interfaces:
- groovy.lang.GroovyObject
public class Violation
- extends java.lang.Object
- implements groovy.lang.GroovyObject
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Violation
public Violation()
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interface groovy.lang.GroovyObject
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClass
in interface groovy.lang.GroovyObject
invokeMethod
public java.lang.Object invokeMethod(java.lang.String method,
java.lang.Object arguments)
- Specified by:
invokeMethod
in interface groovy.lang.GroovyObject
getProperty
public java.lang.Object getProperty(java.lang.String property)
- Specified by:
getProperty
in interface groovy.lang.GroovyObject
setProperty
public void setProperty(java.lang.String property,
java.lang.Object value)
- Specified by:
setProperty
in interface groovy.lang.GroovyObject
getRule
public Rule getRule()
setRule
public void setRule(Rule value)
getLineNumber
public java.lang.Integer getLineNumber()
setLineNumber
public void setLineNumber(java.lang.Integer value)
getSourceLine
public java.lang.String getSourceLine()
setSourceLine
public void setSourceLine(java.lang.String value)
getMessage
public java.lang.String getMessage()
setMessage
public void setMessage(java.lang.String value)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2011. All Rights Reserved.