public class Action extends Object
Modifier and Type | Method and Description |
---|---|
static Action |
create(String actionType,
org.eclipse.ditto.json.JsonObject actionDef)
Creates an
Action with provided action type and definition. |
org.eclipse.ditto.json.JsonObject |
getActionDef() |
String |
getActionType()
Returns the type of the action.
|
String |
toString() |
public static Action create(String actionType, org.eclipse.ditto.json.JsonObject actionDef)
Action
with provided action type and definition.actionType
- action type.actionDef
- action definitionAction
with specified type and definition.IllegalArgumentException
- if eventType
parameter is null.public String getActionType()
public org.eclipse.ditto.json.JsonObject getActionDef()
Copyright © 2022 Bosch.IO GmbH. All rights reserved.