public enum RundeckAPIVersion extends Enum<RundeckAPIVersion>
Enum Constant and Description |
---|
RUNDECK_APIVERSION_10
API version 10.
|
RUNDECK_APIVERSION_11
API version 11.
|
RUNDECK_APIVERSION_12
API version 12.
|
RUNDECK_APIVERSION_13
API version 13.
|
RUNDECK_APIVERSION_5
API version 5.
|
RUNDECK_APIVERSION_6
API version 6.
|
RUNDECK_APIVERSION_7
API version 7.
|
RUNDECK_APIVERSION_8
API version 8.
|
RUNDECK_APIVERSION_9
API version 9.
|
Modifier and Type | Field and Description |
---|---|
private String |
sinceRundeckVersion
First version using this API version.
|
private RundeckClient.Version |
version
Rundeck API Version.
|
Modifier and Type | Method and Description |
---|---|
String |
getSinceReturnVersion()
Get the first RunDeck version using this API version.
|
RundeckClient.Version |
getVersion()
Get the API version.
|
String |
toString()
Return the version and the first API version.
|
static RundeckAPIVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RundeckAPIVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RundeckAPIVersion RUNDECK_APIVERSION_5
public static final RundeckAPIVersion RUNDECK_APIVERSION_6
public static final RundeckAPIVersion RUNDECK_APIVERSION_7
public static final RundeckAPIVersion RUNDECK_APIVERSION_8
public static final RundeckAPIVersion RUNDECK_APIVERSION_9
public static final RundeckAPIVersion RUNDECK_APIVERSION_10
public static final RundeckAPIVersion RUNDECK_APIVERSION_11
public static final RundeckAPIVersion RUNDECK_APIVERSION_12
public static final RundeckAPIVersion RUNDECK_APIVERSION_13
private final RundeckClient.Version version
private final String sinceRundeckVersion
public static RundeckAPIVersion[] values()
for (RundeckAPIVersion c : RundeckAPIVersion.values()) System.out.println(c);
public static RundeckAPIVersion valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic RundeckClient.Version getVersion()
public String getSinceReturnVersion()
public String toString()
toString
in class Enum<RundeckAPIVersion>
Copyright © 2013–2015. All rights reserved.