public class ModificationCmdJsonConverter extends JsonObjectConverter<AbstractProcessInstanceModificationCommand>
Modifier and Type | Field and 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 and Description |
---|
ModificationCmdJsonConverter() |
Modifier and Type | Method and Description |
---|---|
JSONObject |
toJsonObject(AbstractProcessInstanceModificationCommand command) |
AbstractProcessInstanceModificationCommand |
toObject(JSONObject json) |
toJson
public static final ModificationCmdJsonConverter INSTANCE
public static final String START_BEFORE
public static final String START_AFTER
public static final String START_TRANSITION
public static final String CANCEL_ALL
public static final String CANCEL_CURRENT
public static final String CANCEL_ACTIVITY_INSTANCES
public static final String PROCESS_INSTANCE
public static final String CANCEL_TRANSITION_INSTANCES
public JSONObject toJsonObject(AbstractProcessInstanceModificationCommand command)
toJsonObject
in class JsonObjectConverter<AbstractProcessInstanceModificationCommand>
public AbstractProcessInstanceModificationCommand toObject(JSONObject json)
toObject
in class JsonObjectConverter<AbstractProcessInstanceModificationCommand>
Copyright © 2020. All rights reserved.