public enum ProcessWaitForFlag extends java.lang.Enum<ProcessWaitForFlag>
{23B550C7-78E1-437E-98F0-65FD9757BCD2}
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
ProcessWaitResult.WaitFlagNotSupported
.
Writing process input can be performed viaIProcess.write(Long,Long,byte[],Long)
or waiting for theIGuestProcessInputNotifyEvent
event.public static final ProcessWaitForFlag StdOut
ProcessWaitResult.WaitFlagNotSupported
.
Reading process stdout output can be performed viaIProcess.read(Long,Long,Long)
or waiting for theIGuestProcessOutputEvent
event.public static final ProcessWaitForFlag StdErr
ProcessWaitResult.WaitFlagNotSupported
.
Reading process stderr output can be performed viaIProcess.read(Long,Long,Long)
or waiting for theIGuestProcessOutputEvent
event.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)