Package org.camunda.bpm.engine.impl.json
Class ModificationCmdJsonConverter
- java.lang.Object
-
- org.camunda.bpm.engine.impl.json.JsonObjectConverter<AbstractProcessInstanceModificationCommand>
-
- org.camunda.bpm.engine.impl.json.ModificationCmdJsonConverter
-
public class ModificationCmdJsonConverter extends JsonObjectConverter<AbstractProcessInstanceModificationCommand>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CANCEL_ACTIVITY_INSTANCES
static java.lang.String
CANCEL_ALL
static java.lang.String
CANCEL_CURRENT
static java.lang.String
CANCEL_TRANSITION_INSTANCES
static ModificationCmdJsonConverter
INSTANCE
static java.lang.String
PROCESS_INSTANCE
static java.lang.String
START_AFTER
static java.lang.String
START_BEFORE
static java.lang.String
START_TRANSITION
-
Constructor Summary
Constructors Constructor Description ModificationCmdJsonConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gson.JsonObject
toJsonObject(AbstractProcessInstanceModificationCommand command)
AbstractProcessInstanceModificationCommand
toObject(com.google.gson.JsonObject json)
-
Methods inherited from class org.camunda.bpm.engine.impl.json.JsonObjectConverter
toJson
-
-
-
-
Field Detail
-
INSTANCE
public static final ModificationCmdJsonConverter INSTANCE
-
START_BEFORE
public static final java.lang.String START_BEFORE
- See Also:
- Constant Field Values
-
START_AFTER
public static final java.lang.String START_AFTER
- See Also:
- Constant Field Values
-
START_TRANSITION
public static final java.lang.String START_TRANSITION
- See Also:
- Constant Field Values
-
CANCEL_ALL
public static final java.lang.String CANCEL_ALL
- See Also:
- Constant Field Values
-
CANCEL_CURRENT
public static final java.lang.String CANCEL_CURRENT
- See Also:
- Constant Field Values
-
CANCEL_ACTIVITY_INSTANCES
public static final java.lang.String CANCEL_ACTIVITY_INSTANCES
- See Also:
- Constant Field Values
-
PROCESS_INSTANCE
public static final java.lang.String PROCESS_INSTANCE
- See Also:
- Constant Field Values
-
CANCEL_TRANSITION_INSTANCES
public static final java.lang.String CANCEL_TRANSITION_INSTANCES
- See Also:
- Constant Field Values
-
-
Method Detail
-
toJsonObject
public com.google.gson.JsonObject toJsonObject(AbstractProcessInstanceModificationCommand command)
- Specified by:
toJsonObject
in classJsonObjectConverter<AbstractProcessInstanceModificationCommand>
-
toObject
public AbstractProcessInstanceModificationCommand toObject(com.google.gson.JsonObject json)
- Specified by:
toObject
in classJsonObjectConverter<AbstractProcessInstanceModificationCommand>
-
-