public enum EServiceApiVersion extends java.lang.Enum<EServiceApiVersion>
CURRENT_VERSION
, thus
old clients can still talk to this server. For breaking changes we set both
CURRENT_VERSION
and MIN_SUPPORTED_VERSION
to the value of (
CURRENT_VERSION
+ 1).Enum Constant and Description |
---|
VERSION_1
Deprecated.
The first version
|
VERSION_2
Deprecated.
The second version (Teamscale 3.0)
|
VERSION_3
Deprecated.
Third version (Teamscale 3.2)
|
VERSION_4
Deprecated.
Fourth version (Teamscale 3.8)
|
VERSION_5
Deprecated.
Fifth version (Teamscale 3.9)
|
VERSION_6
Deprecated.
Sixth version (Teamscale 4.1)
|
VERSION_7
Deprecated.
Seventh version (Teamscale 4.7) introducing blacklist types (toleration and
false positive)
|
VERSION_8
Deprecated.
Version 8 (Teamscale 5.5)
|
VERSION_9
Deprecated.
Version 9 (Teamscale 5.7) introduction of api/version-info to supersede
service api version.
|
Modifier and Type | Field and Description |
---|---|
static EServiceApiVersion |
CURRENT_VERSION
Deprecated.
The current version of the service API.
|
static EServiceApiVersion |
MIN_SUPPORTED_VERSION
Deprecated.
The minimum version of service clients that are still supported by this
server.
|
Modifier and Type | Method and Description |
---|---|
int |
getVersionNumber()
Deprecated.
Returns number.
|
static EServiceApiVersion |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static EServiceApiVersion[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EServiceApiVersion VERSION_1
public static final EServiceApiVersion VERSION_2
public static final EServiceApiVersion VERSION_3
public static final EServiceApiVersion VERSION_4
public static final EServiceApiVersion VERSION_5
public static final EServiceApiVersion VERSION_6
public static final EServiceApiVersion VERSION_7
public static final EServiceApiVersion VERSION_8
public static final EServiceApiVersion VERSION_9
public static final EServiceApiVersion CURRENT_VERSION
public static final EServiceApiVersion MIN_SUPPORTED_VERSION
public static EServiceApiVersion[] values()
for (EServiceApiVersion c : EServiceApiVersion.values()) System.out.println(c);
public static EServiceApiVersion valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getVersionNumber()