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 String
CANCEL_ACTIVITY_INSTANCES
static String
CANCEL_ALL
static String
CANCEL_CURRENT
static String
CANCEL_TRANSITION_INSTANCES
static ModificationCmdJsonConverter
INSTANCE
static String
PROCESS_INSTANCE
static String
START_AFTER
static String
START_BEFORE
static 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 String START_BEFORE
- See Also:
- Constant Field Values
-
START_AFTER
public static final String START_AFTER
- See Also:
- Constant Field Values
-
START_TRANSITION
public static final String START_TRANSITION
- See Also:
- Constant Field Values
-
CANCEL_ALL
public static final String CANCEL_ALL
- See Also:
- Constant Field Values
-
CANCEL_CURRENT
public static final String CANCEL_CURRENT
- See Also:
- Constant Field Values
-
CANCEL_ACTIVITY_INSTANCES
public static final String CANCEL_ACTIVITY_INSTANCES
- See Also:
- Constant Field Values
-
PROCESS_INSTANCE
public static final String PROCESS_INSTANCE
- See Also:
- Constant Field Values
-
CANCEL_TRANSITION_INSTANCES
public static final 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>
-
-