Class ActionDefinition
- java.lang.Object
-
- fr.gouv.vitam.common.model.processing.ActionDefinition
-
public class ActionDefinition extends java.lang.ObjectActionDefinition class This class is used to define an action It has for the moment 2 fields actionKey and actionType
-
-
Constructor Summary
Constructors Constructor Description ActionDefinition()ActionDefinition(java.lang.String actionKey, ProcessBehavior behavior, LifecycleState lifecycleState, java.util.List<IOParameter> in, java.util.List<IOParameter> out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddefaultLifecycleLog(LifecycleState defaultLifecycleLog)java.lang.StringgetActionKey()ProcessBehaviorgetBehavior()java.util.List<IOParameter>getIn()LifecycleStategetLifecycleState()java.util.List<IOParameter>getOut()StatusAggregationBehaviorgetStatusAggregationBehavior()booleanlifecycleEnabled()LifecycleStatelifecycleState()ActionDefinitionsetActionKey(java.lang.String actionKey)set action keyActionDefinitionsetBehavior(ProcessBehavior behavior)set action typeActionDefinitionsetIn(java.util.List<IOParameter> in)voidsetLifecycleState(LifecycleState lifecycleState)ActionDefinitionsetOut(java.util.List<IOParameter> out)voidsetStatusAggregationBehavior(StatusAggregationBehavior statusAggregationBehavior)
-
-
-
Constructor Detail
-
ActionDefinition
public ActionDefinition()
-
ActionDefinition
public ActionDefinition(java.lang.String actionKey, ProcessBehavior behavior, LifecycleState lifecycleState, java.util.List<IOParameter> in, java.util.List<IOParameter> out)
-
-
Method Detail
-
getActionKey
public java.lang.String getActionKey()
- Returns:
- actionKey the action key
-
setActionKey
public ActionDefinition setActionKey(java.lang.String actionKey)
set action key- Parameters:
actionKey- the key of the action- Returns:
- the updated ActionDefinition object
-
getBehavior
public ProcessBehavior getBehavior()
- Returns:
- ({ ProcessBehavior }) Type of action object or bean
-
setBehavior
public ActionDefinition setBehavior(ProcessBehavior behavior)
set action type- Parameters:
behavior- the process behavior- Returns:
- the updated ActionDefinition object
-
getIn
public java.util.List<IOParameter> getIn()
- Returns:
- the in
-
setIn
public ActionDefinition setIn(java.util.List<IOParameter> in)
- Parameters:
in- the in to set- Returns:
- this Action
-
getOut
public java.util.List<IOParameter> getOut()
- Returns:
- the out
-
setOut
public ActionDefinition setOut(java.util.List<IOParameter> out)
- Parameters:
out- the out to set- Returns:
- this Action
-
getStatusAggregationBehavior
public StatusAggregationBehavior getStatusAggregationBehavior()
-
setStatusAggregationBehavior
public void setStatusAggregationBehavior(StatusAggregationBehavior statusAggregationBehavior)
-
getLifecycleState
public LifecycleState getLifecycleState()
-
setLifecycleState
public void setLifecycleState(LifecycleState lifecycleState)
-
lifecycleEnabled
public boolean lifecycleEnabled()
-
lifecycleState
public LifecycleState lifecycleState()
-
defaultLifecycleLog
public void defaultLifecycleLog(LifecycleState defaultLifecycleLog)
-
-