public enum Status extends Enum<Status>
Initialized
,
Operating
, Stopped
, and Finished
. Conceptually, there is also a Destroyed state, but the
workflow run does not exist (and hence can't have its state queried or set)
in that case.Enum Constant and Description |
---|
Finished
The workflow run has ceased; data files will continue to exist until the
run is destroyed (which may be manual or automatic).
|
Initialized
The workflow run has been created, but is not yet running.
|
Operating
The workflow run is going, reading input, generating output, etc.
|
Stopped
The workflow run is paused, and will need to be moved back to
Operating manually. |
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 Initialized
Operating
when ready.public static final Status Operating
public static final Status Stopped
Operating
manually.public static final Status Finished
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 © 2015–2018 The Apache Software Foundation. All rights reserved.