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