org.jclouds.cloudstack.domain
Enum StoragePool.Type

java.lang.Object
  extended by java.lang.Enum<StoragePool.Type>
      extended by 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
CLVM
           
EXT
           
FILESYSTEM
           
ISCSI
           
ISCSI_LUN
           
ISO
           
LVM
           
NETWORK_FILESYSTEM
           
OCFS2
           
PRE_SETUP
           
SHARED_MOUNT_POINT
           
UNRECOGNIZED
           
VMFS
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 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-2012 jclouds. All Rights Reserved.