public class PowerPromoteActionExecuter extends AbstractActionExecuter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROMOTE_TO_STATE_PARAM |
group, groupedConditionEvaluatorList, indexImage, nonRequiredConditionEvaluatorList, requiredConditionEvaluatorList
Constructor and Description |
---|
PowerPromoteActionExecuter() |
Modifier and Type | Method and Description |
---|---|
protected void |
addMandatoryParameters(java.util.List<java.lang.String> mandatoryProperties)
A hook method for actions to add mandatory parameters to the provided list.
|
void |
executeImpl(java.lang.String ticket,
Action action)
Power promote checks the passed in objectIds and promotes their life cycle states to the default 'approved' or the value of promoteToState
|
java.lang.String |
getEventSource() |
java.lang.String |
getRoleName() |
void |
setEventSource(java.lang.String eventSource) |
void |
setRoleName(java.lang.String roleName) |
evaluateAndExecute, execute, getActionDefinition, getDescription, getGroupedConditionEvaluatorList, getIndexImage, getNonRequiredConditionEvaluatorList, getRequiredConditionEvaluatorList, getShouldPoolAction, isGroup, setActionExecutionThreadManager, setDescription, setGroup, setGroupedConditionEvaluatorList, setIndexImage, setNonRequiredConditionEvaluatorList, setRequiredConditionEvaluatorList, setShouldPoolAction
checkParameters
public java.lang.String getRoleName()
public void setRoleName(java.lang.String roleName)
public java.lang.String getEventSource()
public void setEventSource(java.lang.String eventSource)
protected void addMandatoryParameters(java.util.List<java.lang.String> mandatoryProperties)
AbstractActionExecuter
addMandatoryParameters
in class AbstractActionExecuter
mandatoryProperties
- a list of mandatory parameters that must be provided to the action executer when executed.public void executeImpl(java.lang.String ticket, Action action)
executeImpl
in interface ActionExecuter
executeImpl
in class AbstractActionExecuter
ticket
- a valid OC ticket.action
- the action object containing the parameters sent to the action for execution.java.lang.Runtime
- Exception is thrown if the passed in lifecycle is not a valid life cycle state or there is no life cycle attached to the documentActionExecuter.executeImpl(String, Action)