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(com.google.gson.JsonObject json) |
protected String |
readTargetActivityId(com.google.gson.JsonObject json) |
com.google.gson.JsonObject |
toJsonObject(MigrationInstruction instruction) |
MigrationInstruction |
toObject(com.google.gson.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 com.google.gson.JsonObject toJsonObject(MigrationInstruction instruction)
toJsonObject
in class JsonObjectConverter<MigrationInstruction>
public MigrationInstruction toObject(com.google.gson.JsonObject json)
toObject
in class JsonObjectConverter<MigrationInstruction>
protected String readSourceActivityId(com.google.gson.JsonObject json)
protected String readTargetActivityId(com.google.gson.JsonObject json)
Copyright © 2022. All rights reserved.