public static enum DatasetSet.DatasetChildrenPolicy extends Enum<DatasetSet.DatasetChildrenPolicy>
Enum Constant and Description |
---|
INCLUDE_ALL_DESCENDANTS
All children datasets, recursively, must be included in the current subset.
|
INCLUDE_DIRECT_CHILDREN
Only direct children must be included in the current subset.
|
NONE
No instruction to include dataset children.
|
Modifier and Type | Method and Description |
---|---|
String |
format()
Returns the code associated with this policy.
|
UserMessage |
getLabel()
Returns the policy label.
|
static DatasetSet.DatasetChildrenPolicy |
parsePolicy(String aValue)
Parses a string value, and returns the associated children policy.
|
static DatasetSet.DatasetChildrenPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatasetSet.DatasetChildrenPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatasetSet.DatasetChildrenPolicy NONE
public static final DatasetSet.DatasetChildrenPolicy INCLUDE_ALL_DESCENDANTS
public static final DatasetSet.DatasetChildrenPolicy INCLUDE_DIRECT_CHILDREN
public static DatasetSet.DatasetChildrenPolicy[] values()
for (DatasetSet.DatasetChildrenPolicy c : DatasetSet.DatasetChildrenPolicy.values()) System.out.println(c);
public static DatasetSet.DatasetChildrenPolicy 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 final DatasetSet.DatasetChildrenPolicy parsePolicy(String aValue)
aValue
- the children policy as a literal stringpublic UserMessage getLabel()
public String format()