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