public static enum Volume.Type extends Enum<Volume.Type>
Enum Constant and Description |
---|
DATADISK |
ROOT |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static Volume.Type |
fromValue(String resourceType) |
String |
toString() |
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 ROOT
public static final Volume.Type DATADISK
public static final Volume.Type UNRECOGNIZED
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 nullpublic String toString()
toString
in class Enum<Volume.Type>
public static Volume.Type fromValue(String resourceType)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.