org.dasein.cloud.cloudstack
Enum CSVersion

java.lang.Object
  extended by java.lang.Enum<CSVersion>
      extended by org.dasein.cloud.cloudstack.CSVersion
All Implemented Interfaces:
Serializable, Comparable<CSVersion>

public enum CSVersion
extends Enum<CSVersion>

Represents meaningful differences in CloudStack versions. Minor changes that don't impact Dasein functionality are not represented.


Enum Constant Summary
CS21
           
CS22
           
CS3
           
 
Method Summary
 boolean greaterThan(CSVersion control)
           
static CSVersion valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CSVersion[] 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

CS21

public static final CSVersion CS21

CS22

public static final CSVersion CS22

CS3

public static final CSVersion CS3
Method Detail

values

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

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

valueOf

public static CSVersion 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

greaterThan

public boolean greaterThan(@Nonnull
                           CSVersion control)


Copyright © 2012 enStratus Networks Inc. All Rights Reserved.