Class ActionDefinition
java.lang.Object
fr.gouv.vitam.common.model.processing.ActionDefinition
ActionDefinition class This class is used to define an action It has for the moment 2 fields actionKey and actionType
-
Constructor Summary
ConstructorsConstructorDescriptionActionDefinition(String actionKey, ProcessBehavior behavior, LifecycleState lifecycleState, List<IOParameter> in, List<IOParameter> out) -
Method Summary
Modifier and TypeMethodDescriptionvoiddefaultLifecycleLog(LifecycleState defaultLifecycleLog) getIn()getOut()booleansetActionKey(String actionKey) set action keysetBehavior(ProcessBehavior behavior) set action typesetIn(List<IOParameter> in) voidsetLifecycleState(LifecycleState lifecycleState) setOut(List<IOParameter> out) voidsetStatusAggregationBehavior(StatusAggregationBehavior statusAggregationBehavior)
-
Constructor Details
-
ActionDefinition
public ActionDefinition() -
ActionDefinition
public ActionDefinition(String actionKey, ProcessBehavior behavior, LifecycleState lifecycleState, List<IOParameter> in, List<IOParameter> out)
-
-
Method Details
-
getActionKey
- Returns:
- actionKey the action key
-
setActionKey
set action key- Parameters:
actionKey- the key of the action- Returns:
- the updated ActionDefinition object
-
getBehavior
- Returns:
- ({ ProcessBehavior }) Type of action object or bean
-
setBehavior
set action type- Parameters:
behavior- the process behavior- Returns:
- the updated ActionDefinition object
-
getIn
- Returns:
- the in
-
setIn
- Parameters:
in- the in to set- Returns:
- this Action
-
getOut
- Returns:
- the out
-
setOut
- Parameters:
out- the out to set- Returns:
- this Action
-
getStatusAggregationBehavior
-
setStatusAggregationBehavior
-
getLifecycleState
-
setLifecycleState
-
lifecycleEnabled
public boolean lifecycleEnabled() -
lifecycleState
-
defaultLifecycleLog
-