public enum STATUS extends Enum<STATUS>
Enum Constant and Description |
---|
CANCELLED |
DONE |
ERROR |
QUEUED |
RETRYING |
RUNNING |
Modifier and Type | Method and Description |
---|---|
static STATUS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static STATUS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final STATUS QUEUED
public static final STATUS DONE
public static final STATUS CANCELLED
public static final STATUS ERROR
public static final STATUS RETRYING
public static final STATUS RUNNING
public static STATUS[] values()
for (STATUS c : STATUS.values()) System.out.println(c);
public static STATUS 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 nullCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.