public static enum ProcessObserver.Mode extends Enum<ProcessObserver.Mode>
| Enum Constant and Description |
|---|
BLOCKING
ProcessObserver.start() blocks until the process ends. |
NON_BLOCKING
ProcessObserver.start() returns immediately. |
| Modifier and Type | Method and Description |
|---|---|
static ProcessObserver.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcessObserver.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessObserver.Mode BLOCKING
ProcessObserver.start() blocks until the process ends.public static final ProcessObserver.Mode NON_BLOCKING
ProcessObserver.start() returns immediately.public static ProcessObserver.Mode[] values()
for (ProcessObserver.Mode c : ProcessObserver.Mode.values()) System.out.println(c);
public static ProcessObserver.Mode 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 © 2014–2016 European Space Agency (ESA). All rights reserved.