T - 作业配置对象泛型public abstract class AbstractJobConfigurationGsonTypeAdapter<T extends JobRootConfiguration>
extends com.google.gson.TypeAdapter<T>
| 构造器和说明 |
|---|
AbstractJobConfigurationGsonTypeAdapter() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract void |
addToCustomizedValueMap(String jsonName,
com.google.gson.stream.JsonReader in,
Map<String,Object> customizedValueMap) |
protected abstract T |
getJobRootConfiguration(JobTypeConfiguration typeConfig,
Map<String,Object> customizedValueMap) |
T |
read(com.google.gson.stream.JsonReader in) |
void |
write(com.google.gson.stream.JsonWriter out,
T value) |
protected abstract void |
writeCustomized(com.google.gson.stream.JsonWriter out,
T value) |
public T read(com.google.gson.stream.JsonReader in) throws IOException
read 在类中 com.google.gson.TypeAdapter<T extends JobRootConfiguration>IOExceptionprotected abstract void addToCustomizedValueMap(String jsonName, com.google.gson.stream.JsonReader in, Map<String,Object> customizedValueMap) throws IOException
IOExceptionprotected abstract T getJobRootConfiguration(JobTypeConfiguration typeConfig, Map<String,Object> customizedValueMap)
public void write(com.google.gson.stream.JsonWriter out,
T value)
throws IOException
write 在类中 com.google.gson.TypeAdapter<T extends JobRootConfiguration>IOExceptionprotected abstract void writeCustomized(com.google.gson.stream.JsonWriter out,
T value)
throws IOException
IOExceptionCopyright © 2016. All rights reserved.