Class ActionDefinition
- java.lang.Object
-
- fr.gouv.vitam.common.model.processing.ActionDefinition
-
public class ActionDefinition extends java.lang.Object
ActionDefinition 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 void
defaultLifecycleLog(LifecycleState defaultLifecycleLog)
java.lang.String
getActionKey()
ProcessBehavior
getBehavior()
java.util.List<IOParameter>
getIn()
LifecycleState
getLifecycleState()
java.util.List<IOParameter>
getOut()
StatusAggregationBehavior
getStatusAggregationBehavior()
boolean
lifecycleEnabled()
LifecycleState
lifecycleState()
ActionDefinition
setActionKey(java.lang.String actionKey)
set action keyActionDefinition
setBehavior(ProcessBehavior behavior)
set action typeActionDefinition
setIn(java.util.List<IOParameter> in)
void
setLifecycleState(LifecycleState lifecycleState)
ActionDefinition
setOut(java.util.List<IOParameter> out)
void
setStatusAggregationBehavior(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)
-
-