|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Actions
API for managing actions.
Field Summary | |
---|---|
static java.lang.String |
NAME
NAME : String. |
Method Summary | |
---|---|
void |
cancel(java.util.UUID actionId)
Cancel a scheduled action. |
ActionSummary |
create(Action action)
Create a new scheduled action. |
void |
executeAll()
Executes all available actions whose 'execute after' date is in the past. |
PagedCollection<ActionSummary> |
listCompletedActions(java.lang.String sort,
SortOrder sortOrder,
int pageNo,
int pageSize)
List all CCC actions that have been executed. |
PagedCollection<ActionSummary> |
listPendingActions(java.lang.String sort,
SortOrder sortOrder,
int pageNo,
int pageSize)
List all CCC actions that haven't yet been executed. |
ActionSummary |
retrieve(java.util.UUID actionId)
Find the action with the specified ID. |
Methods inherited from interface ccc.api.core.Scheduler |
---|
isRunning, start, stop |
Field Detail |
---|
static final java.lang.String NAME
Method Detail |
---|
void cancel(java.util.UUID actionId)
actionId
- The id of the action to cancel.ActionSummary create(Action action)
action
- The action to create.
PagedCollection<ActionSummary> listPendingActions(java.lang.String sort, SortOrder sortOrder, int pageNo, int pageSize)
sort
- The field to sort on.sortOrder
- The order results be sorted in.pageNo
- The page of results to return.pageSize
- The number of results in a page.
PagedCollection<ActionSummary> listCompletedActions(java.lang.String sort, SortOrder sortOrder, int pageNo, int pageSize)
sort
- The field to sort on.sortOrder
- The order results be sorted in.pageNo
- The page of results to return.pageSize
- The number of results in a page.
void executeAll()
ActionSummary retrieve(java.util.UUID actionId)
actionId
- The action's ID.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |