public static enum Version.TestType extends Enum<Version.TestType>
| Modifier and Type | Method and Description |
|---|---|
static Version.TestType |
fromCode(String code) |
static Version.TestType |
fromLabel(String label) |
String |
getCode() |
String |
getLabel() |
static Version.TestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Version.TestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Version.TestType ALPHA
public static final Version.TestType BETA
public static Version.TestType[] values()
for (Version.TestType c : Version.TestType.values()) System.out.println(c);
public static Version.TestType 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 getCode()
public String getLabel()
public static Version.TestType fromCode(String code)
public static Version.TestType fromLabel(String label)
Copyright © 2020 Open Foris. All rights reserved.