public class SourceUnitErrorCollector extends ErrorCollector implements groovy.lang.GroovyObject
Constructor and Description |
---|
SourceUnitErrorCollector(org.codehaus.groovy.control.SourceUnit u) |
Modifier and Type | Method and Description |
---|---|
net.sf.json.JSONArray |
asJson() |
void |
error(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTElement src,
String message) |
List<String> |
errorsAsStrings() |
int |
getErrorCount() |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
org.codehaus.groovy.control.SourceUnit |
getSourceUnit() |
Object |
invokeMethod(String method,
Object arguments) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
public SourceUnitErrorCollector(org.codehaus.groovy.control.SourceUnit u)
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
getMetaClass
in class ErrorCollector
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
setMetaClass
in class ErrorCollector
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
invokeMethod
in class ErrorCollector
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
getProperty
in class ErrorCollector
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
setProperty
in class ErrorCollector
public final org.codehaus.groovy.control.SourceUnit getSourceUnit()
public net.sf.json.JSONArray asJson()
asJson
in class ErrorCollector
public void error(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTElement src, String message)
error
in class ErrorCollector
public int getErrorCount()
getErrorCount
in class ErrorCollector
public List<String> errorsAsStrings()
errorsAsStrings
in class ErrorCollector
Copyright © 2016–2017. All rights reserved.