public static enum APIVersions.APIVersion extends Enum<APIVersions.APIVersion>
Enum Constant and Description |
---|
V0
Deprecated.
In 3.1.0 / RY-986
|
V1
Deprecated.
In 3.1.0 / RY-986
|
V10
In 2.6.5, we'll make it possible to delete and restore requirements just by keeping a flag in Jira,
so it doesn't destroy the links, and so they can be restored.
|
V11
In 3.1.1, we've introduced the 'isPublicDescription' field which allows displaying the description in Jira,
like it was up to APIv10.
|
V2
Deprecated.
In 3.1.0 / RY-986
|
V3
Deprecated.
In 3.1.0 / RY-986
|
V4
Deprecated.
In 3.1.0 / RY-986
|
V5
Deprecated.
In 3.1.0 / RY-986
|
V6
Deprecated.
In 3.1.0 / RY-986
|
V7
Deprecated.
In 3.1.0 / RY-986
|
V8
In 2.5.18, we've noticed it could take 4 minutes to retrieve the list of custom fields, so we've added
a REST API which can retrieve a subset of them.
|
V9
In 2.6.3, we've added a way to search for baselines and spaces in Confluence.
|
Modifier and Type | Field and Description |
---|---|
private String |
description |
private String |
label |
private boolean |
supported
True if this version is supported, false if we've stopped compatbility.
|
private Integer |
version |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
String |
getLabel() |
int |
getVersion() |
boolean |
isSupported() |
boolean |
isSupported(Integer version)
Returns true if the version passed in the argument supports this enum's version.
|
static APIVersions.APIVersion |
safeValueOf(Integer version) |
static APIVersions.APIVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static APIVersions.APIVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final APIVersions.APIVersion V0
public static final APIVersions.APIVersion V1
public static final APIVersions.APIVersion V2
public static final APIVersions.APIVersion V3
public static final APIVersions.APIVersion V4
public static final APIVersions.APIVersion V5
public static final APIVersions.APIVersion V6
public static final APIVersions.APIVersion V7
public static final APIVersions.APIVersion V8
public static final APIVersions.APIVersion V9
public static final APIVersions.APIVersion V10
public static final APIVersions.APIVersion V11
private final Integer version
private final String label
private final String description
private final boolean supported
public static APIVersions.APIVersion[] values()
for (APIVersions.APIVersion c : APIVersions.APIVersion.values()) System.out.println(c);
public static APIVersions.APIVersion 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 static APIVersions.APIVersion safeValueOf(Integer version)
public int getVersion()
public String getLabel()
public String getDescription()
public boolean isSupported()
public boolean isSupported(Integer version)
Copyright © 2022 Requirement Yogi. All rights reserved.