Class SourceUnitErrorCollector
java.lang.Object
org.jenkinsci.plugins.pipeline.modeldefinition.validator.ErrorCollector
org.jenkinsci.plugins.pipeline.modeldefinition.validator.SourceUnitErrorCollector
- All Implemented Interfaces:
groovy.lang.GroovyObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.sf.json.JSONArrayasJson()voidintgroovy.lang.MetaClassgetProperty(String property) final org.codehaus.groovy.control.SourceUnitinvokeMethod(String method, Object arguments) voidsetMetaClass(groovy.lang.MetaClass mc) voidsetProperty(String property, Object value)
-
Constructor Details
-
SourceUnitErrorCollector
public SourceUnitErrorCollector(org.codehaus.groovy.control.SourceUnit u)
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject- Overrides:
getMetaClassin classErrorCollector
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject- Overrides:
setMetaClassin classErrorCollector
-
invokeMethod
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject- Overrides:
invokeMethodin classErrorCollector
-
getProperty
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject- Overrides:
getPropertyin classErrorCollector
-
setProperty
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject- Overrides:
setPropertyin classErrorCollector
-
getSourceUnit
public final org.codehaus.groovy.control.SourceUnit getSourceUnit() -
asJson
public net.sf.json.JSONArray asJson()- Specified by:
asJsonin classErrorCollector
-
error
public void error(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTElement src, String message) - Specified by:
errorin classErrorCollector
-
getErrorCount
public int getErrorCount()- Specified by:
getErrorCountin classErrorCollector
-
errorsAsStrings
- Specified by:
errorsAsStringsin classErrorCollector
-