public class Violation extends Object implements groovy.lang.GroovyObject
Constructor and Description |
---|
Violation() |
Modifier and Type | Method and Description |
---|---|
Integer |
getLineNumber() |
String |
getMessage() |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Rule |
getRule() |
String |
getSourceLine() |
Object |
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 |
setRule(Rule value) |
void |
setSourceLine(String value) |
String |
toString() |
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
public Rule getRule()
public void setRule(Rule value)
public Integer getLineNumber()
public void setLineNumber(Integer value)
public String getSourceLine()
public void setSourceLine(String value)
public String getMessage()
public void setMessage(String value)
Copyright © 2022. All rights reserved.