public static class VersionFieldSerializer.VersionFieldSerializerConfig extends FieldSerializer.FieldSerializerConfig
Constructor and Description |
---|
VersionFieldSerializerConfig() |
Modifier and Type | Method and Description |
---|---|
VersionFieldSerializer.VersionFieldSerializerConfig |
clone() |
boolean |
getCompatible() |
void |
setCompatible(boolean compatible)
When false, an exception is thrown when reading an object with a different version.
|
getCopyTransient, getExtendedFieldNames, getFieldsCanBeNull, getFixedFieldTypes, getIgnoreSyntheticFields, getSerializeTransient, getSetFieldsAsAccessible, getVariableLengthEncoding, setCopyTransient, setExtendedFieldNames, setFieldsAsAccessible, setFieldsCanBeNull, setFixedFieldTypes, setIgnoreSyntheticFields, setSerializeTransient, setVariableLengthEncoding
public VersionFieldSerializer.VersionFieldSerializerConfig clone()
clone
in class FieldSerializer.FieldSerializerConfig
public void setCompatible(boolean compatible)
public boolean getCompatible()
Copyright © 2019. All Rights Reserved.