public class MuranoActionServiceImpl extends BaseOpenStackService implements MuranoActionService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
MuranoActionServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
cast(String envId,
String actionId)
Send signal to run the action and return the taskId
|
String |
cast(String envId,
String actionId,
Map<String,Object> arguments) |
String |
cast(String envId,
String actionId,
String jsonString) |
ActionInfo |
find(String envId,
String actionName)
Tries to find action with specific name.
|
List<? extends ActionInfo> |
findAll(String envId,
String actionName)
Tries to find all actions with given name.
|
ActionInfo |
get(String envId,
String actionId)
List action in current environment by its ID.
|
protected List<? extends ActionInfo> |
getAllActions(String envId) |
ActionResult |
getResult(String envId,
String taskId)
Gets the result of running action.
|
List<? extends ActionInfo> |
list(String envId) |
List<? extends ActionInfo> |
list(String envId,
String serviceId)
List all actions in current environment
|
ActionResult |
run(String envId,
String actionId)
It is a simple wrapper for a pair:
cast() -> getResult()
Starts an action and wait for the result.
|
ActionResult |
run(String envId,
String actionId,
Map<String,Object> arguments) |
ActionResult |
run(String envId,
String actionId,
String jsonString) |
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic List<? extends ActionInfo> list(String envId, String serviceId)
list in interface MuranoActionServiceenvId - the environment identifierserviceId - the service identifierpublic List<? extends ActionInfo> list(String envId)
list in interface MuranoActionServicepublic ActionInfo get(String envId, String actionId)
get in interface MuranoActionServiceenvId - the environment identifieractionId - the action identifierpublic ActionInfo find(String envId, String actionName)
find in interface MuranoActionServiceenvId - the environment identifieractionName - the name of actionpublic List<? extends ActionInfo> findAll(String envId, String actionName)
findAll in interface MuranoActionServiceenvId - the environment identifieractionName - the name of actionpublic String cast(String envId, String actionId, String jsonString)
cast in interface MuranoActionServicepublic String cast(String envId, String actionId, Map<String,Object> arguments)
cast in interface MuranoActionServicepublic String cast(String envId, String actionId)
cast in interface MuranoActionServiceenvId - environment identifieractionId - action identifierpublic ActionResult getResult(String envId, String taskId)
getResult in interface MuranoActionServiceenvId - environment identifiertaskId - task idpublic ActionResult run(String envId, String actionId)
run in interface MuranoActionServiceenvId - environment identifieractionId - action identifierpublic ActionResult run(String envId, String actionId, String jsonString)
run in interface MuranoActionServicepublic ActionResult run(String envId, String actionId, Map<String,Object> arguments)
run in interface MuranoActionServiceprotected List<? extends ActionInfo> getAllActions(String envId)
Copyright © 2017. All rights reserved.