Class AdditionalBinderDsl
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Script
org.jenkinsci.groovy.binder.BinderClosureScript
org.jenkinsci.test.acceptance.guice.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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setProperty
(String property, Object value) subworld
(groovy.lang.Closure config) Creates another injector and bind them using the given closure.Methods inherited from class org.jenkinsci.groovy.binder.BinderClosureScript
getBinder, getEnvs, getProperties, getProperty, invokeMethod, module, setBinder
Methods inherited from class groovy.lang.Script
evaluate, evaluate, getBinding, print, printf, printf, println, println, run, run, setBinding
Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, setMetaClass
-
Constructor Details
-
AdditionalBinderDsl
public AdditionalBinderDsl() -
AdditionalBinderDsl
public AdditionalBinderDsl(groovy.lang.Binding binding)
-
-
Method Details
-
subworld
Creates another injector and bind them using the given closure.The newly created injector will be returned.
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
setProperty
in classorg.jenkinsci.groovy.binder.BinderClosureScript
-