public enum TestRunState extends Enum<TestRunState>
| Enum Constant and Description |
|---|
COMPLETED |
NOT_SCHEDULED |
SCHEDULED |
STARTED |
STOPPED |
| Modifier and Type | Method and Description |
|---|---|
TestRunState |
transition(TestRunState next)
Checks that a transition is allowed
|
static TestRunState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestRunState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestRunState NOT_SCHEDULED
public static final TestRunState SCHEDULED
public static final TestRunState STARTED
public static final TestRunState STOPPED
public static final TestRunState COMPLETED
public static TestRunState[] values()
for (TestRunState c : TestRunState.values()) System.out.println(c);
public static TestRunState 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 TestRunState transition(TestRunState next)
next - the state to transition toCopyright © 2005–2018 Alfresco Software. All rights reserved.