public interface MuranoActionService extends RestService
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.
|
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) |
List<? extends ActionInfo> list(String envId, String serviceId)
envId
- the environment identifierserviceId
- the service identifierList<? extends ActionInfo> list(String envId)
ActionInfo get(String envId, String actionId)
envId
- the environment identifieractionId
- the action identifierActionInfo find(String envId, String actionName)
envId
- the environment identifieractionName
- the name of actionList<? extends ActionInfo> findAll(String envId, String actionName)
envId
- the environment identifieractionName
- the name of actionString cast(String envId, String actionId)
envId
- environment identifieractionId
- action identifierActionResult getResult(String envId, String taskId)
envId
- environment identifiertaskId
- task idActionResult run(String envId, String actionId)
envId
- environment identifieractionId
- action identifierActionResult run(String envId, String actionId, String jsonString)
Copyright © 2017. All rights reserved.