public interface DslEnvironment
extends java.util.Map<java.lang.String,java.lang.Object>
DslEnvironment can be used to transfer state between a DslExtensionMethod
and the listener methods in ContextExtensionPoint.| Modifier and Type | Method and Description |
|---|---|
<T extends javaposse.jobdsl.dsl.Context> |
createContext(java.lang.Class<T> contextClass)
Creates an instance of the specified
Context type. |
<T extends javaposse.jobdsl.dsl.Context> T createContext(java.lang.Class<T> contextClass)
Context type.T - the type of the context to createcontextClass - the type of the context to create