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
-
Method Summary
Modifier and TypeMethodDescriptionabstract net.sf.json.JSONArray
asJson()
abstract void
abstract int
groovy.lang.MetaClass
getProperty
(String property) invokeMethod
(String method, Object arguments) void
setMetaClass
(groovy.lang.MetaClass mc) void
setProperty
(String property, Object value)
-
Constructor Details
-
ErrorCollector
public ErrorCollector()
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
-
invokeMethod
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
- Specified by:
setProperty
in 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()
-