public enum Action extends Enum<Action>
Enum Constant and Description |
---|
FAIL |
FAILED |
GO |
PASS |
PASSED |
STOP |
WARN |
Modifier and Type | Method and Description |
---|---|
static Action |
fromName(String value) |
String |
getDescription() |
static Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Action STOP
public static final Action WARN
public static final Action GO
public static final Action PASS
public static final Action FAIL
public static final Action PASSED
public static final Action FAILED
public static Action[] values()
for (Action c : Action.values()) System.out.println(c);
public static Action 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 getDescription()
Copyright © 2016–2021. All rights reserved.