public static enum SerdeConfig.SerInclude extends java.lang.Enum<SerdeConfig.SerInclude>
| Enum Constant and Description |
|---|
ALWAYS
Value that indicates that property is to be always included,
independent of value of the property.
|
NEVER
Ignore the property.
|
NON_ABSENT
Value that indicates that properties are included unless their value
is:
null
"absent" value of a referential type (like Java 8 `Optional`, or
{link java.util.concurrent.atomic.AtomicReference}); that is, something
that would not deference to a non-null value.
|
NON_EMPTY
Value that indicates that only properties with null value,
or what is considered empty, are not to be included.
|
NON_NULL
Value that indicates that only properties with non-null
values are to be included.
|
| Modifier and Type | Method and Description |
|---|---|
static SerdeConfig.SerInclude |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SerdeConfig.SerInclude[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerdeConfig.SerInclude ALWAYS
public static final SerdeConfig.SerInclude NON_NULL
public static final SerdeConfig.SerInclude NON_ABSENT
public static final SerdeConfig.SerInclude NON_EMPTY
public static final SerdeConfig.SerInclude NEVER
public static SerdeConfig.SerInclude[] values()
for (SerdeConfig.SerInclude c : SerdeConfig.SerInclude.values()) System.out.println(c);
public static SerdeConfig.SerInclude 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