public static enum Volume.Type extends Enum<Volume.Type>
Enum Constant and Description |
---|
LOCAL
scoped to a node cannot be remounted onto another node.
|
NAS
shared mount, non-exclusive by nature, although may happen to be exclusive.
|
SAN
network storage; exclusive by nature, remountable onto other machines.
|
Modifier and Type | Method and Description |
---|---|
static Volume.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Volume.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Volume.Type LOCAL
public static final Volume.Type NAS
public static final Volume.Type SAN
public static Volume.Type[] values()
for (Volume.Type c : Volume.Type.values()) System.out.println(c);
public static Volume.Type 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 nullCopyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.