public static enum MetadataUtils.Mode extends java.lang.Enum<MetadataUtils.Mode>
| Enum Constant and Description |
|---|
CREATE_ALL
all missing elements including the last are created.
|
CREATE_NONE
nothing is created and a null is returned.
|
FAIL
if one of the path elements is missing an NoSuchElementException is raised.
|
| Modifier and Type | Method and Description |
|---|---|
static MetadataUtils.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MetadataUtils.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetadataUtils.Mode CREATE_ALL
public static final MetadataUtils.Mode CREATE_NONE
public static final MetadataUtils.Mode FAIL
public static MetadataUtils.Mode[] values()
for (MetadataUtils.Mode c : MetadataUtils.Mode.values()) System.out.println(c);
public static MetadataUtils.Mode 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