public static enum APIVersions.APIVersion extends Enum<APIVersions.APIVersion>
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
String |
getLabel() |
Integer |
getVersion() |
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 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 Integer getVersion()
public String getLabel()
public String getDescription()
Copyright © 2020 Play SQL. All rights reserved.