Interface LifeCycleInstance
-
public interface LifeCycleInstance
LifeCycle- Version:
- $Id: $
- Author:
- brozow
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LifeCycleInstance
createNestedLifeCycle(BatchTask currentPhase, String lifeCycleName)
createNestedLifeCycle<T> T
findAttributeByType(Class<T> clazz)
findAttributeByTypeObject
getAttribute(String key)
getAttribute<T> T
getAttribute(String key, Class<T> type)
getAttribute<T> T
getAttribute(String key, T defaultValue)
getAttributeTaskCoordinator
getCoordinator()
getCoordinatorString
getName()
getNameList<String>
getPhaseNames()
getPhaseNamesLifeCycleInstance
setAttribute(String key, Object value)
setAttributevoid
trigger()
triggervoid
waitFor()
waitFor
-
-
-
Method Detail
-
setAttribute
LifeCycleInstance setAttribute(String key, Object value)
setAttribute
- Parameters:
key
- aString
object.value
- aObject
object.- Returns:
- a
LifeCycleInstance
object.
-
findAttributeByType
<T> T findAttributeByType(Class<T> clazz)
findAttributeByType
- Type Parameters:
T
- a T object.- Parameters:
clazz
- aClass
object.- Returns:
- a T object.
-
getAttribute
<T> T getAttribute(String key, T defaultValue)
getAttribute
- Type Parameters:
T
- a T object.- Parameters:
key
- aString
object.defaultValue
- a T object.- Returns:
- a T object.
-
createNestedLifeCycle
LifeCycleInstance createNestedLifeCycle(BatchTask currentPhase, String lifeCycleName)
createNestedLifeCycle
- Parameters:
currentPhase
- aBatchTask
object.lifeCycleName
- aString
object.- Returns:
- a
LifeCycleInstance
object.
-
trigger
void trigger()
trigger
-
waitFor
void waitFor() throws InterruptedException, ExecutionException
waitFor
- Throws:
InterruptedException
- if any.ExecutionException
- if any.
-
getCoordinator
TaskCoordinator getCoordinator()
getCoordinator
- Returns:
- a
TaskCoordinator
object.
-
-