Class JSONErrorCollector
java.lang.Object
org.jenkinsci.plugins.pipeline.modeldefinition.validator.ErrorCollector
org.jenkinsci.plugins.pipeline.modeldefinition.validator.JSONErrorCollector
- All Implemented Interfaces:
groovy.lang.GroovyObject
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnet.sf.json.JSONArray
asJson()
void
int
groovy.lang.MetaClass
getProperty
(String property) invokeMethod
(String method, Object arguments) void
void
setMetaClass
(groovy.lang.MetaClass mc) void
setProperty
(String property, Object value)
-
Constructor Details
-
JSONErrorCollector
public JSONErrorCollector()
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
- Overrides:
getMetaClass
in classErrorCollector
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
- Overrides:
setMetaClass
in classErrorCollector
-
invokeMethod
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
- Overrides:
invokeMethod
in classErrorCollector
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
getProperty
in classErrorCollector
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
setProperty
in classErrorCollector
-
getErrors
-
setErrors
-
error
public void error(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTElement src, String message) - Specified by:
error
in classErrorCollector
-
getErrorCount
public int getErrorCount()- Specified by:
getErrorCount
in classErrorCollector
-
errorsAsStrings
- Specified by:
errorsAsStrings
in classErrorCollector
-
asJson
public net.sf.json.JSONArray asJson()- Specified by:
asJson
in classErrorCollector
-