Groovy Documentation

javaposse.jobdsl.dsl.helpers
[Groovy] Class AbstractHelper

java.lang.Object
  javaposse.jobdsl.dsl.helpers.AbstractHelper
All Implemented Interfaces:
Helper

class AbstractHelper

Base for all helpers, providing an easy ability to create WithXmlActions


Property Summary
JobType type

java.util.List withXmlActions

Global list of all withXmlActions.

 
Constructor Summary
AbstractHelper(java.util.List withXmlActions, JobType type)

 
Method Summary
WithXmlAction execute(groovy.lang.Closure rootClosure)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Property Detail

type

JobType type


withXmlActions

java.util.List withXmlActions
Global list of all withXmlActions. Helper should append to it as they get called. They could prepend to the list, that is not advised. They can scan the list so fat to look special implementations of WithXmlAction, which might effect their behavior.


 
Constructor Detail

AbstractHelper

AbstractHelper(java.util.List withXmlActions, JobType type)


 
Method Detail

execute

WithXmlAction execute(groovy.lang.Closure rootClosure)


 

Groovy Documentation