public interface ActionDefinitionService extends RestService
| Modifier and Type | Method and Description |
|---|---|
List<? extends ActionDefinition> |
create(InputStream actionText,
Scope scope)
Create a new action definition.
|
ActionResponse |
delete(String identifier)
Delete action definition by its identifier.
|
ActionDefinition |
get(String identifier)
Get action definition by its identifier.
|
List<? extends ActionDefinition> |
list()
List all action definitions with details.
|
List<? extends ActionDefinition> list()
List<? extends ActionDefinition> create(InputStream actionText, Scope scope)
actionText - Text in YAML format (Mistral language) with one or more action definitions.scope - Scope of newly created workflows.ActionDefinition get(String identifier)
identifier - Action definition identifier (either ID or name).ActionResponse delete(String identifier)
identifier - Action definition identifier (either ID or name).Copyright © 2020. All rights reserved.