public class SetJobRetriesBatchConfigurationJsonConverter extends JsonObjectConverter<SetJobRetriesBatchConfiguration>
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(SetJobRetriesBatchConfiguration configuration) |
SetJobRetriesBatchConfiguration |
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(SetJobRetriesBatchConfiguration configuration)
toJsonObject
in class JsonObjectConverter<SetJobRetriesBatchConfiguration>
public SetJobRetriesBatchConfiguration toObject(JSONObject json)
toObject
in class JsonObjectConverter<SetJobRetriesBatchConfiguration>
protected List<String> readJobIds(JSONObject jsonObject)
Copyright © 2018. All rights reserved.