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