public enum ProcessWaitForFlag extends java.lang.Enum<ProcessWaitForFlag>
Enum Constant and Description |
---|
None
No waiting flags specified.
|
Start
Wait for the process being started.
|
StdErr
Wait for data becoming available on stderr.
|
StdIn
Wait for stdin becoming available.
|
StdOut
Wait for data becoming available on stdout.
|
Terminate
Wait for the process being terminated.
|
Modifier and Type | Method and Description |
---|---|
static ProcessWaitForFlag |
fromValue(long v) |
static ProcessWaitForFlag |
fromValue(java.lang.String v) |
int |
value() |
static ProcessWaitForFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProcessWaitForFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessWaitForFlag None
public static final ProcessWaitForFlag Start
public static final ProcessWaitForFlag Terminate
public static final ProcessWaitForFlag StdIn
public static final ProcessWaitForFlag StdOut
public static final ProcessWaitForFlag StdErr
public static ProcessWaitForFlag[] values()
for (ProcessWaitForFlag c : ProcessWaitForFlag.values()) System.out.println(c);
public static ProcessWaitForFlag valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int value()
public static ProcessWaitForFlag fromValue(long v)
public static ProcessWaitForFlag fromValue(java.lang.String v)