public class MigrationInstructionJsonConverter extends JsonObjectConverter<MigrationInstruction>
Modifier and Type | Field and Description |
---|---|
static MigrationInstructionJsonConverter |
INSTANCE |
static String |
SOURCE_ACTIVITY_IDS |
static String |
TARGET_ACTIVITY_IDS |
static String |
UPDATE_EVENT_TRIGGER |
Constructor and Description |
---|
MigrationInstructionJsonConverter() |
Modifier and Type | Method and Description |
---|---|
protected String |
readSourceActivityId(JSONObject json) |
protected String |
readTargetActivityId(JSONObject json) |
JSONObject |
toJsonObject(MigrationInstruction instruction) |
MigrationInstruction |
toObject(JSONObject json) |
toJson
public static final MigrationInstructionJsonConverter INSTANCE
public static final String SOURCE_ACTIVITY_IDS
public static final String TARGET_ACTIVITY_IDS
public static final String UPDATE_EVENT_TRIGGER
public JSONObject toJsonObject(MigrationInstruction instruction)
toJsonObject
in class JsonObjectConverter<MigrationInstruction>
public MigrationInstruction toObject(JSONObject json)
toObject
in class JsonObjectConverter<MigrationInstruction>
protected String readSourceActivityId(JSONObject json)
protected String readTargetActivityId(JSONObject json)
Copyright © 2020. All rights reserved.