public class JSONErrorCollector extends ErrorCollector
Modifier and Type | Class and Description |
---|---|
static class |
JSONErrorCollector.JSONErrorPair |
Constructor and Description |
---|
JSONErrorCollector() |
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() |
List<JSONErrorCollector.JSONErrorPair> |
getErrors() |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
void |
setErrors(List<JSONErrorCollector.JSONErrorPair> value) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
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 List<JSONErrorCollector.JSONErrorPair> getErrors()
public void setErrors(List<JSONErrorCollector.JSONErrorPair> value)
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
public net.sf.json.JSONArray asJson()
asJson
in class ErrorCollector
Copyright © 2016–2017. All rights reserved.