Class AdditionalBinderDsl

  • All Implemented Interfaces:
    groovy.lang.GroovyObject

    public abstract class AdditionalBinderDsl
    extends org.jenkinsci.groovy.binder.BinderClosureScript
    Enhance Groovy binder DSL with additional methods.
    Author:
    Kohsuke Kawaguchi
    • Constructor Detail

      • AdditionalBinderDsl

        public AdditionalBinderDsl()
      • AdditionalBinderDsl

        public AdditionalBinderDsl​(groovy.lang.Binding binding)
    • Method Detail

      • subworld

        public SubWorld subworld​(groovy.lang.Closure config)
        Creates another injector and bind them using the given closure.

        The newly created injector will be returned.

      • setProperty

        public void setProperty​(String property,
                                Object value)
        Specified by:
        setProperty in interface groovy.lang.GroovyObject
        Overrides:
        setProperty in class org.jenkinsci.groovy.binder.BinderClosureScript