org.jclouds.deltacloud.domain
Enum HardwareProperty.Kind

java.lang.Object
  extended by java.lang.Enum<HardwareProperty.Kind>
      extended by org.jclouds.deltacloud.domain.HardwareProperty.Kind
All Implemented Interfaces:
Serializable, Comparable<HardwareProperty.Kind>
Enclosing interface:
HardwareProperty

public static enum HardwareProperty.Kind
extends Enum<HardwareProperty.Kind>


Enum Constant Summary
ENUM
          a list of available values is provided
FIXED
          only the value specified in the property is available
RANGE
          available values are described by a numeric range
UNRECOGNIZED
          type returned as something besides the above.
 
Method Summary
static HardwareProperty.Kind fromValue(String kind)
           
static HardwareProperty.Kind valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HardwareProperty.Kind[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FIXED

public static final HardwareProperty.Kind FIXED
only the value specified in the property is available


ENUM

public static final HardwareProperty.Kind ENUM
a list of available values is provided


RANGE

public static final HardwareProperty.Kind RANGE
available values are described by a numeric range


UNRECOGNIZED

public static final HardwareProperty.Kind UNRECOGNIZED
type returned as something besides the above.

Method Detail

values

public static HardwareProperty.Kind[] 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 (HardwareProperty.Kind c : HardwareProperty.Kind.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static HardwareProperty.Kind 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

fromValue

public static HardwareProperty.Kind fromValue(String kind)


Copyright © 2009-2011 jclouds. All Rights Reserved.