public static enum JobEvent.EventStatus extends Enum<JobEvent.EventStatus>
| Enum Constant and Description |
|---|
FAILURE |
STARTED |
SUCCESS |
SUSPEND |
WAITING |
| Modifier and Type | Method and Description |
|---|---|
static JobEvent.EventStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobEvent.EventStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobEvent.EventStatus WAITING
public static final JobEvent.EventStatus STARTED
public static final JobEvent.EventStatus SUCCESS
public static final JobEvent.EventStatus SUSPEND
public static final JobEvent.EventStatus FAILURE
public static JobEvent.EventStatus[] values()
for (JobEvent.EventStatus c : JobEvent.EventStatus.values()) System.out.println(c);
public static JobEvent.EventStatus 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 © 2018 Apache Software Foundation. All rights reserved.