public enum CompatibilityVersion extends Enum<CompatibilityVersion>
| Enum Constant and Description |
|---|
V_2_7
Version 2.7
|
V_UNSPECIFIED
Unspecified version
|
| Modifier and Type | Method and Description |
|---|---|
static CompatibilityVersion |
fromValue(String v)
Returns enumeration for the name.
|
Long |
getLongValue()
Returns long representation of the version.
|
String |
getStringValue()
Returns string representation of the version.
|
String |
value()
Returns name of the enumeration.
|
static CompatibilityVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompatibilityVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompatibilityVersion V_UNSPECIFIED
public static final CompatibilityVersion V_2_7
public static CompatibilityVersion[] values()
for (CompatibilityVersion c : CompatibilityVersion.values()) System.out.println(c);
public static CompatibilityVersion 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 String value()
public static CompatibilityVersion fromValue(String v)
v - public String getStringValue()
public Long getLongValue()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.