public class SetExternalTaskRetriesBatchConfigurationJsonConverter extends JsonObjectConverter<SetRetriesBatchConfiguration>
Modifier and Type | Field and Description |
---|---|
static String |
EXTERNAL_TASK_IDS |
static SetExternalTaskRetriesBatchConfigurationJsonConverter |
INSTANCE |
static String |
RETRIES |
Constructor and Description |
---|
SetExternalTaskRetriesBatchConfigurationJsonConverter() |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
readExternalTaskIds(JSONObject json) |
JSONObject |
toJsonObject(SetRetriesBatchConfiguration configuration) |
SetRetriesBatchConfiguration |
toObject(JSONObject json) |
toJson
public static final SetExternalTaskRetriesBatchConfigurationJsonConverter INSTANCE
public static final String EXTERNAL_TASK_IDS
public static final String RETRIES
public SetExternalTaskRetriesBatchConfigurationJsonConverter()
public JSONObject toJsonObject(SetRetriesBatchConfiguration configuration)
toJsonObject
in class JsonObjectConverter<SetRetriesBatchConfiguration>
public SetRetriesBatchConfiguration toObject(JSONObject json)
toObject
in class JsonObjectConverter<SetRetriesBatchConfiguration>
protected List<String> readExternalTaskIds(JSONObject json)
Copyright © 2017. All rights reserved.