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>
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
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 name
NullPointerException - if the argument is null
toString
public String toString()
- Overrides:
toString in class Enum<StoragePool.Type>
fromValue
public static StoragePool.Type fromValue(String type)
Copyright © 2009-2013 jclouds. All Rights Reserved.