org.dasein.cloud.cloudstack
Enum CSVersion
java.lang.Object
java.lang.Enum<CSVersion>
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.
CS21
public static final CSVersion CS21
CS22
public static final CSVersion CS22
CS3
public static final CSVersion CS3
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.