public class WorkflowActionManager extends java.lang.Object implements WorkflowActions, WorkflowVerifierConstants
PAUSE_ACTION, RESET_ACTION, RUN_ACTION
AUTHORIZE, CANCEL, RESET, RESET_AND_RUN
Constructor and Description |
---|
WorkflowActionManager() |
Modifier and Type | Method and Description |
---|---|
static int |
authorizeWorkflowAction(java.lang.String action,
TaskGraph taskgraph,
ExecutionState state)
Verify the specified workflow for the specified action.
|
static void |
registerWorkflowAction(java.lang.String[] actions,
WorkflowVerifier verifier)
Registers a workflow verifier, overriding its default workflow actions with the specified actions.
|
static void |
registerWorkflowAction(WorkflowVerifier verifier)
Registers a workflow verifier using its default workflow actions.
|
static void |
unregisterWorkflowAction(java.lang.String[] actions,
WorkflowVerifier verifier)
Unregisters a workflow verifier from the specified actions.
|
static void |
unregisterWorkflowAction(WorkflowVerifier verifier)
Unregisters a workflow verifier using its default workflow actions.
|
public static void registerWorkflowAction(WorkflowVerifier verifier)
public static void registerWorkflowAction(java.lang.String[] actions, WorkflowVerifier verifier)
public static void unregisterWorkflowAction(WorkflowVerifier verifier)
public static void unregisterWorkflowAction(java.lang.String[] actions, WorkflowVerifier verifier)
public static int authorizeWorkflowAction(java.lang.String action, TaskGraph taskgraph, ExecutionState state) throws WorkflowException
WorkflowException