public class ModificationCmdJsonConverter extends JsonObjectConverter<AbstractProcessInstanceModificationCommand>
Modifier and Type | Field and Description |
---|---|
static String |
CANCEL_ALL |
static String |
CANCEL_CURRENT |
static ModificationCmdJsonConverter |
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 JSONObject toJsonObject(AbstractProcessInstanceModificationCommand command)
toJsonObject
in class JsonObjectConverter<AbstractProcessInstanceModificationCommand>
public AbstractProcessInstanceModificationCommand toObject(JSONObject json)
toObject
in class JsonObjectConverter<AbstractProcessInstanceModificationCommand>
Copyright © 2019. All rights reserved.