ccc.client.actions
Class CreateActionAction
java.lang.Object
ccc.client.core.RemotingAction
ccc.client.actions.CreateActionAction
- All Implemented Interfaces:
- Action
public final class CreateActionAction
- extends RemotingAction
Create a scheduled action.
- Author:
- Civic Computing Ltd.
Constructor Summary |
CreateActionAction(java.util.UUID resourceId,
CommandType command,
java.util.Date executeAfter,
java.util.Map<java.lang.String,java.lang.String> actionParameters)
Constructor. |
Methods inherited from class ccc.client.core.RemotingAction |
beforeExecute, encode, execute, fireEvent, getActionName, getBody, getParser, getPath, onFailure, onNoContent, onOK, parseResourceSummary, setExecutor, setParser |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateActionAction
public CreateActionAction(java.util.UUID resourceId,
CommandType command,
java.util.Date executeAfter,
java.util.Map<java.lang.String,java.lang.String> actionParameters)
- Constructor.
- Parameters:
actionParameters
- Additional parameters for the action.executeAfter
- The date that the action will be performed.command
- The command the action will invoke.resourceId
- The resource the action will operate on.
getRequest
protected Request getRequest()
- Get the HTTP request for this action.
- Overrides:
getRequest
in class RemotingAction
- Returns:
- The request for this remote action.
createAction
public Request createAction(Action action)
- Create a new action.
- Parameters:
action
- The action to create.
- Returns:
- The HTTP request to create the action.
Copyright © 2010. All Rights Reserved.