cancelAction
void cancelAction(java.util.UUID actionId)
throws RestException
- Cancel a scheduled action.
-
- Parameters:
actionId
- The id of the action to cancel.
- Throws:
RestException
- If the method fails.
createAction
ccc.rest.dto.ActionSummary createAction(ccc.rest.dto.ActionDto action)
throws RestException
- Create a new scheduled action.
-
- Parameters:
action
- The action to create.
- Returns:
- A summary of the new action.
- Throws:
RestException
- If the method fails.
listPendingActions
java.util.Collection<ccc.rest.dto.ActionSummary> listPendingActions()
- List all CCC actions that haven't yet been executed.
-
- Returns:
- A collection of action summaries, one per outstanding action.
listCompletedActions
java.util.Collection<ccc.rest.dto.ActionSummary> listCompletedActions()
- List all CCC actions that have been executed.
-
- Returns:
- A collection of action summaries, one per completed action.
executeAll
void executeAll()
- Executes all available actions whose 'execute after' date is in the past.
-
findAction
ccc.rest.dto.ActionSummary findAction(java.util.UUID actionId)
throws RestException
- Find the action with the specified ID.
-
- Parameters:
actionId
- The action's ID.
- Returns:
- A summary of the action.
- Throws:
RestException
- If the method fails.