public enum ClusterBlockLevel extends java.lang.Enum<ClusterBlockLevel>
Enum Constant and Description |
---|
METADATA_READ |
METADATA_WRITE |
READ |
WRITE |
Modifier and Type | Field and Description |
---|---|
static java.util.EnumSet<ClusterBlockLevel> |
ALL |
static java.util.EnumSet<ClusterBlockLevel> |
READ_WRITE |
Modifier and Type | Method and Description |
---|---|
static ClusterBlockLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClusterBlockLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterBlockLevel READ
public static final ClusterBlockLevel WRITE
public static final ClusterBlockLevel METADATA_READ
public static final ClusterBlockLevel METADATA_WRITE
public static final java.util.EnumSet<ClusterBlockLevel> ALL
public static final java.util.EnumSet<ClusterBlockLevel> READ_WRITE
public static ClusterBlockLevel[] values()
for (ClusterBlockLevel c : ClusterBlockLevel.values()) System.out.println(c);
public static ClusterBlockLevel 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