Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD

## com.xensource.xenapi
Enum APIVersion

    java.lang.Object
      java.lang.Enum<APIVersion>
          com.xensource.xenapi.APIVersion

All Implemented Interfaces:
  Serializable, Comparable<APIVersion>

    public enum APIVersion

extends Enum<APIVersion>

Enum Constant Summary
`API_1_1`
`API_1_10`
`API_1_2`
`API_1_3`
`API_1_4`
`API_1_5`
`API_1_6`
`API_1_7`
`API_1_8`
`API_1_9`
`API_2_0`
`UNKNOWN`

Method Summary
`static APIVersion` | `fromMajorMinor(long major, long minor)`
`static APIVersion` | `latest()`
`String` | `toString()`
`static APIVersion` | `valueOf(String name)` Returns the enum constant of this type with the specified name.
`static APIVersion[]` | `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

### API_1_1

    public static final APIVersion API_1_1

### API_1_2

    public static final APIVersion API_1_2

### API_1_3

    public static final APIVersion API_1_3

### API_1_4

    public static final APIVersion API_1_4

### API_1_5

    public static final APIVersion API_1_5

### API_1_6

    public static final APIVersion API_1_6

### API_1_7

    public static final APIVersion API_1_7

### API_1_8

    public static final APIVersion API_1_8

### API_1_9

    public static final APIVersion API_1_9

### API_1_10

    public static final APIVersion API_1_10

### API_2_0

    public static final APIVersion API_2_0

### UNKNOWN

    public static final APIVersion UNKNOWN

Method Detail

### values

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

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

### valueOf

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

### latest

    public static APIVersion latest()

### fromMajorMinor

    public static APIVersion fromMajorMinor(long major,
                                            long minor)

### toString

    public String toString()

  Overrides:
    `toString` in class `Enum<APIVersion>`

Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD