|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavaposse.jobdsl.dsl.helpers.AbstractHelper
javaposse.jobdsl.dsl.helpers.AbstractContextHelper
abstract class AbstractContextHelper extends AbstractHelper
Each helper has essentially two parts. First they run a closure in executeWithContext right away to build a context object. Once we have the actually root, we run again via the generateWithXmlClosure.
<
- T >Constructor Summary | |
AbstractContextHelper(java.util.List withXmlActions, JobType jobType)
|
Method Summary | |
---|---|
java.lang.Object
|
execute(groovy.lang.Closure closure, java.lang.Object freshContext)
Make assumption that we're creating top level xml elements |
static java.lang.Object
|
executeInContext(groovy.lang.Closure closure, Context freshContext)
|
WithXmlAction
|
generateWithXmlAction(java.lang.Object context)
|
groovy.lang.Closure
|
generateWithXmlClosure(java.lang.Object context)
|
Methods inherited from class AbstractHelper | |
---|---|
execute |
Constructor Detail |
---|
AbstractContextHelper(java.util.List withXmlActions, JobType jobType)
Method Detail |
---|
java.lang.Object execute(groovy.lang.Closure closure, java.lang.Object freshContext)
static java.lang.Object executeInContext(groovy.lang.Closure closure, Context freshContext)
WithXmlAction generateWithXmlAction(java.lang.Object context)
groovy.lang.Closure generateWithXmlClosure(java.lang.Object context)
Groovy Documentation