public class RemoteApiVersion extends Object implements Serializable
Contains the minor and major version of the API as well as operations to compare API versions.
Modifier and Type | Field and Description |
---|---|
static RemoteApiVersion |
VERSION_1_16 |
static RemoteApiVersion |
VERSION_1_17 |
static RemoteApiVersion |
VERSION_1_18 |
static RemoteApiVersion |
VERSION_1_19 |
static RemoteApiVersion |
VERSION_1_20 |
static RemoteApiVersion |
VERSION_1_21 |
static RemoteApiVersion |
VERSION_1_22 |
Modifier and Type | Method and Description |
---|---|
String |
asWebPathPart() |
static RemoteApiVersion |
create(int major,
int minor) |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isGreaterOrEqual(RemoteApiVersion other) |
static RemoteApiVersion |
parseConfig(String version) |
static RemoteApiVersion |
parseConfigWithDefault(String version) |
String |
toString() |
static RemoteApiVersion |
unknown() |
public static final RemoteApiVersion VERSION_1_16
public static final RemoteApiVersion VERSION_1_17
public static final RemoteApiVersion VERSION_1_18
public static final RemoteApiVersion VERSION_1_19
public static final RemoteApiVersion VERSION_1_20
public static final RemoteApiVersion VERSION_1_21
public static final RemoteApiVersion VERSION_1_22
public static RemoteApiVersion create(int major, int minor)
public static RemoteApiVersion unknown()
public static RemoteApiVersion parseConfig(String version)
public static RemoteApiVersion parseConfigWithDefault(String version)
public boolean isGreaterOrEqual(RemoteApiVersion other)
public String asWebPathPart()
Copyright © 2016. All Rights Reserved.