public enum TestState extends Enum<TestState>
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
Deprecated.
since 6.8 use
getDisplayNameKey() and resolve it |
String |
getDisplayNameKey() |
static I18nBean |
getI18nBean()
Deprecated.
since 6.8 inject your own
|
static TestState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestState SUCCESS
public static final TestState SKIPPED
public static final TestState FAILED
public static TestState[] values()
for (TestState c : TestState.values()) System.out.println(c);
public static TestState 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 null@Deprecated public String getDisplayName()
getDisplayNameKey() and resolve itpublic String getDisplayNameKey()
@Deprecated public static I18nBean getI18nBean()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.