public enum PluginState extends Enum<PluginState>
| Enum Constant and Description |
|---|
CREATED
The Job is created
|
DISCARDED
the job has been discarded by the scheduler.
|
DONE
The job terminated successfully
|
FAILED
The failed the execution
|
RUNNING
The job is running
|
STOPPED
The job has been stopped
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFinalState()
Return true when the state a is a final state and the job cannot move
in any other state
|
static PluginState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PluginState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PluginState CREATED
public static final PluginState RUNNING
public static final PluginState STOPPED
public static final PluginState DONE
public static final PluginState FAILED
public static final PluginState DISCARDED
public static PluginState[] values()
for (PluginState c : PluginState.values()) System.out.println(c);
public static PluginState 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 boolean isFinalState()
Copyright © 2015. All Rights Reserved.