public enum PropertyBoxSerializationMode extends Enum<PropertyBoxSerializationMode>
PropertyBox property serialization mode when it is serialized as a JSON object.JsonConfigProperties| Enum Constant and Description |
|---|
ALL
Serialize all the properties.
|
PATH
Serialize only the
Path type properties. |
| Modifier and Type | Method and Description |
|---|---|
static PropertyBoxSerializationMode |
getDefault()
Get the default
PropertyBoxSerializationMode. |
static PropertyBoxSerializationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyBoxSerializationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyBoxSerializationMode PATH
Path type properties.
The path name, obtained through Path.getName(), is used as serialized property name.
This is the default serialization mode.
public static final PropertyBoxSerializationMode ALL
The property name, obtained through Property.getName(), is used as serialized property name.
public static PropertyBoxSerializationMode[] values()
for (PropertyBoxSerializationMode c : PropertyBoxSerializationMode.values()) System.out.println(c);
public static PropertyBoxSerializationMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static PropertyBoxSerializationMode getDefault()
PropertyBoxSerializationMode.PropertyBoxSerializationModeCopyright © 2019 The Holon Platform. All rights reserved.