Class SourceUnitErrorCollector

  • All Implemented Interfaces:
    groovy.lang.GroovyObject

    public class SourceUnitErrorCollector
    extends ErrorCollector
    • Constructor Detail

      • SourceUnitErrorCollector

        public SourceUnitErrorCollector​(org.codehaus.groovy.control.SourceUnit u)
    • Method Detail

      • getMetaClass

        public groovy.lang.MetaClass getMetaClass()
        Specified by:
        getMetaClass in interface groovy.lang.GroovyObject
        Overrides:
        getMetaClass in class ErrorCollector
      • setMetaClass

        public void setMetaClass​(groovy.lang.MetaClass mc)
        Specified by:
        setMetaClass in interface groovy.lang.GroovyObject
        Overrides:
        setMetaClass in class ErrorCollector
      • setProperty

        public void setProperty​(String property,
                                Object value)
        Specified by:
        setProperty in interface groovy.lang.GroovyObject
        Overrides:
        setProperty in class ErrorCollector
      • getSourceUnit

        public final org.codehaus.groovy.control.SourceUnit getSourceUnit()
      • error

        public void error​(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTElement src,
                          String message)
        Specified by:
        error in class ErrorCollector