Class Violation
java.lang.Object
org.codenarc.rule.Violation
- All Implemented Interfaces:
groovy.lang.GroovyObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongroovy.lang.MetaClassgetProperty(String property) getRule()invokeMethod(String method, Object arguments) voidsetLineNumber(Integer value) voidsetMessage(String value) voidsetMetaClass(groovy.lang.MetaClass mc) voidsetProperty(String property, Object value) voidvoidsetSourceLine(String value) toString()
-
Constructor Details
-
Violation
public Violation()
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject
-
invokeMethod
-
getProperty
-
setProperty
-
getRule
-
setRule
-
getLineNumber
-
setLineNumber
-
getSourceLine
-
setSourceLine
-
getMessage
-
setMessage
-
toString
-