Class Cleanup

  • All Implemented Interfaces:
    groovy.lang.GroovyObject, ExtensionPoint, Serializable

    @Extension(ordinal=-10000.0)
    @Symbol("cleanup")
    public class Cleanup
    extends org.jenkinsci.plugins.pipeline.modeldefinition.model.BuildCondition
    implements groovy.lang.GroovyObject
    See Also:
    Serialized Form
    • Constructor Detail

      • Cleanup

        public Cleanup()
    • Method Detail

      • getMetaClass

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

        public void setMetaClass​(groovy.lang.MetaClass mc)
        Specified by:
        setMetaClass in interface groovy.lang.GroovyObject
      • invokeMethod

        public Object invokeMethod​(String method,
                                   Object arguments)
        Specified by:
        invokeMethod in interface groovy.lang.GroovyObject
      • getProperty

        public Object getProperty​(String property)
        Specified by:
        getProperty in interface groovy.lang.GroovyObject
      • setProperty

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

        public static long getSerialVersionUID()
      • meetsCondition

        @Deprecated
        public boolean meetsCondition​(@NonNull
                                      org.jenkinsci.plugins.workflow.job.WorkflowRun r)
        Deprecated.
        Overrides:
        meetsCondition in class org.jenkinsci.plugins.pipeline.modeldefinition.model.BuildCondition
      • meetsCondition

        public boolean meetsCondition​(@NonNull
                                      org.jenkinsci.plugins.workflow.job.WorkflowRun r,
                                      Object context,
                                      Throwable error)
        Overrides:
        meetsCondition in class org.jenkinsci.plugins.pipeline.modeldefinition.model.BuildCondition
      • getDescription

        public String getDescription()
        Specified by:
        getDescription in class org.jenkinsci.plugins.pipeline.modeldefinition.model.BuildCondition