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
Constructors Constructor Description AdditionalBinderDsl()
AdditionalBinderDsl(groovy.lang.Binding binding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setProperty(String property, Object value)
SubWorld
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
-
-
-
-
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.
-
-