public interface ActionsService
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(ActionListener listener)
Register a listener that will process actions.
|
int |
deleteActions(String tenantId,
ActionsCriteria criteria)
Delete the requested Actions from the history, as described by the provided criteria.
|
Page<Action> |
getActions(String tenantId,
ActionsCriteria criteria,
Pager pager) |
void |
send(Action action)
Send an action to be processed by the plugins architecture.
|
void |
updateResult(Action action)
Update the result of an action.
|
void send(Action action)
action - Action to sendvoid updateResult(Action action)
action - ActionPage<Action> getActions(String tenantId, ActionsCriteria criteria, Pager pager) throws Exception
tenantId - Tenant where actions are storedcriteria - If null returns all actions (not recommended)pager - Paging requirement for fetching actions. Optional. Return all if null.Exceptionint deleteActions(String tenantId, ActionsCriteria criteria) throws Exception
tenantId - criteria - Exceptionvoid addListener(ActionListener listener)
listener - the listenerCopyright © 2015 Red Hat, Inc.. All rights reserved.