public static enum Constants.State extends Enum<Constants.State>
Modifier and Type | Method and Description |
---|---|
static Constants.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.State RUNNING
public static final Constants.State OK
public static final Constants.State TIMEOUT
public static final Constants.State FAILURE
public static final Constants.State ERROR
public static Constants.State[] values()
for (Constants.State c : Constants.State.values()) System.out.println(c);
public static Constants.State 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 DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann