public static enum SerdeSkipDeserializingIf.SkipDeIf extends java.lang.Enum<SerdeSkipDeserializingIf.SkipDeIf>
The field is skipped if the condition is true.
| Enum Constant and Description |
|---|
CUSTOM
Skip the field if the corresponding config value satisfies a custom
condition, defined by
SerdeSkipDeserializingIf.customCheck(). |
IS_EMPTY
Skip the field if the corresponding config value is empty.
|
IS_MISSING
Skip the field if the corresponding config entry is missing.
|
IS_NULL
Skip the field if the corresponding config value is null.
|
| Modifier and Type | Method and Description |
|---|---|
static SerdeSkipDeserializingIf.SkipDeIf |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SerdeSkipDeserializingIf.SkipDeIf[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerdeSkipDeserializingIf.SkipDeIf IS_MISSING
public static final SerdeSkipDeserializingIf.SkipDeIf IS_NULL
public static final SerdeSkipDeserializingIf.SkipDeIf IS_EMPTY
Determining whether an object is "empty" or not is done in a "logical" way
for common Java objects.
For instance, a CharSequence is empty is its length() is
zero, a Collection is empty if calling isEmpty() returns
true, etc.
As a last-resort try to implement the "is empty" check, reflection is used to
find and call the method boolean isEmpty() on the value.
public static final SerdeSkipDeserializingIf.SkipDeIf CUSTOM
SerdeSkipDeserializingIf.customCheck().public static SerdeSkipDeserializingIf.SkipDeIf[] values()
for (SerdeSkipDeserializingIf.SkipDeIf c : SerdeSkipDeserializingIf.SkipDeIf.values()) System.out.println(c);
public static SerdeSkipDeserializingIf.SkipDeIf valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null