org.codenarc.rule
Class Violation
java.lang.Object
org.codenarc.rule.Violation
- All Implemented Interfaces:
- groovy.lang.GroovyObject
public class Violation
- extends Object
- implements groovy.lang.GroovyObject
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 Object invokeMethod(String method,
Object arguments)
- Specified by:
invokeMethod in interface groovy.lang.GroovyObject
getProperty
public Object getProperty(String property)
- Specified by:
getProperty in interface groovy.lang.GroovyObject
setProperty
public void setProperty(String property,
Object value)
- Specified by:
setProperty in interface groovy.lang.GroovyObject
getRule
public Rule getRule()
setRule
public void setRule(Rule value)
getLineNumber
public Integer getLineNumber()
setLineNumber
public void setLineNumber(Integer value)
getSourceLine
public String getSourceLine()
setSourceLine
public void setSourceLine(String value)
getMessage
public String getMessage()
setMessage
public void setMessage(String value)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013. All Rights Reserved.