public enum DiskVolumeType extends Enum<DiskVolumeType>
Enum Constant and Description |
---|
ALL
Enum value All.
|
DATA
Enum value Data.
|
OS
Enum value OS.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static DiskVolumeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiskVolumeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiskVolumeType OS
public static final DiskVolumeType DATA
public static final DiskVolumeType ALL
public static DiskVolumeType[] values()
for (DiskVolumeType c : DiskVolumeType.values()) System.out.println(c);
public static DiskVolumeType 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<DiskVolumeType>
Copyright © 2019. All rights reserved.