public interface LifeCycleInstance
Modifier and Type | Method and Description |
---|---|
LifeCycleInstance |
createNestedLifeCycle(BatchTask currentPhase,
String lifeCycleName)
createNestedLifeCycle
|
<T> T |
findAttributeByType(Class<T> clazz)
findAttributeByType
|
Object |
getAttribute(String key)
getAttribute
|
<T> T |
getAttribute(String key,
Class<T> type)
getAttribute
|
<T> T |
getAttribute(String key,
T defaultValue)
getAttribute
|
TaskCoordinator |
getCoordinator()
getCoordinator
|
String |
getName()
getName
|
List<String> |
getPhaseNames()
getPhaseNames
|
LifeCycleInstance |
setAttribute(String key,
Object value)
setAttribute
|
void |
trigger()
trigger
|
void |
waitFor()
waitFor
|
LifeCycleInstance setAttribute(String key, Object value)
setAttribute
key
- a String
object.value
- a Object
object.LifeCycleInstance
object.<T> T findAttributeByType(Class<T> clazz)
findAttributeByType
T
- a T object.clazz
- a Class
object.<T> T getAttribute(String key, T defaultValue)
getAttribute
T
- a T object.key
- a String
object.defaultValue
- a T object.LifeCycleInstance createNestedLifeCycle(BatchTask currentPhase, String lifeCycleName)
createNestedLifeCycle
currentPhase
- a BatchTask
object.lifeCycleName
- a String
object.LifeCycleInstance
object.void trigger()
trigger
void waitFor() throws InterruptedException, ExecutionException
waitFor
InterruptedException
- if any.ExecutionException
- if any.TaskCoordinator getCoordinator()
getCoordinator
TaskCoordinator
object.Copyright © 2021. All rights reserved.