Package org.jclouds.cloudstack.domain
Enum StoragePool.Type
- java.lang.Object
-
- java.lang.Enum<StoragePool.Type>
-
- org.jclouds.cloudstack.domain.StoragePool.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<StoragePool.Type>
- Enclosing class:
- StoragePool
public static enum StoragePool.Type extends Enum<StoragePool.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLVM
EXT
FILESYSTEM
ISCSI
ISCSI_LUN
ISO
LVM
NETWORK_FILESYSTEM
OCFS2
PRE_SETUP
SHARED_MOUNT_POINT
UNRECOGNIZED
VMFS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StoragePool.Type
fromValue(String type)
String
toString()
static StoragePool.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static StoragePool.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FILESYSTEM
public static final StoragePool.Type FILESYSTEM
-
NETWORK_FILESYSTEM
public static final StoragePool.Type NETWORK_FILESYSTEM
-
ISCSI_LUN
public static final StoragePool.Type ISCSI_LUN
-
ISCSI
public static final StoragePool.Type ISCSI
-
ISO
public static final StoragePool.Type ISO
-
LVM
public static final StoragePool.Type LVM
-
CLVM
public static final StoragePool.Type CLVM
-
SHARED_MOUNT_POINT
public static final StoragePool.Type SHARED_MOUNT_POINT
-
VMFS
public static final StoragePool.Type VMFS
-
PRE_SETUP
public static final StoragePool.Type PRE_SETUP
-
EXT
public static final StoragePool.Type EXT
-
OCFS2
public static final StoragePool.Type OCFS2
-
UNRECOGNIZED
public static final StoragePool.Type UNRECOGNIZED
-
-
Method Detail
-
values
public static StoragePool.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StoragePool.Type c : StoragePool.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StoragePool.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<StoragePool.Type>
-
fromValue
public static StoragePool.Type fromValue(String type)
-
-