public enum DirectoryGrouping extends Enum<DirectoryGrouping>
tmp
, log
and data
directories.Modifier and Type | Method and Description |
---|---|
static DirectoryGrouping |
defaultValue()
Returns the default directory grouping.
|
static DirectoryGrouping |
fromModel(org.jboss.dmr.ModelNode model)
Returns the value of found in the model.
|
org.jboss.dmr.ModelNode |
toModelNode()
Converts the value of the directory grouping to a model node.
|
String |
toString() |
static DirectoryGrouping |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DirectoryGrouping[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DirectoryGrouping BY_TYPE
public static final DirectoryGrouping BY_SERVER
public static DirectoryGrouping[] values()
for (DirectoryGrouping c : DirectoryGrouping.values()) System.out.println(c);
public static DirectoryGrouping 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 String toString()
toString
in class Enum<DirectoryGrouping>
public org.jboss.dmr.ModelNode toModelNode()
public static DirectoryGrouping defaultValue()
public static DirectoryGrouping fromModel(org.jboss.dmr.ModelNode model)
model
- the model that contains the key and value.IllegalArgumentException
- if the directory grouping
was not found in the model.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.