Class ErrorCollector
java.lang.Object
org.jenkinsci.plugins.pipeline.modeldefinition.validator.ErrorCollector
- All Implemented Interfaces:
groovy.lang.GroovyObject
- Direct Known Subclasses:
JSONErrorCollector,SourceUnitErrorCollector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract net.sf.json.JSONArrayasJson()abstract voidabstract intgroovy.lang.MetaClassgetProperty(String property) invokeMethod(String method, Object arguments) voidsetMetaClass(groovy.lang.MetaClass mc) voidsetProperty(String property, Object value)
-
Constructor Details
-
ErrorCollector
public ErrorCollector()
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject
-
invokeMethod
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject
-
getProperty
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject
-
setProperty
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject
-
error
public abstract void error(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTElement src, String message) -
getErrorCount
public abstract int getErrorCount() -
errorsAsStrings
-
asJson
public abstract net.sf.json.JSONArray asJson()
-