| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<GrabProcessOutput.Wait>
com.android.sdklib.util.GrabProcessOutput.Wait
public static enum GrabProcessOutput.Wait
| Enum Constant Summary | |
|---|---|
| ASYNCDoesn't wait for the exec to complete. | |
| WAIT_FOR_PROCESSThis waits for the process to finish. | |
| WAIT_FOR_READERSThis waits for the process to finish and for the stdout/stderr threads to complete. | |
| Method Summary | |
|---|---|
| static GrabProcessOutput.Wait | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static GrabProcessOutput.Wait[] | values()Returns an array containing the constants of this enum type, in the order they are declared. | 
| Methods inherited from class java.lang.Enum | 
|---|
| clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | 
| Methods inherited from class java.lang.Object | 
|---|
| getClass, notify, notifyAll, wait, wait, wait | 
| Enum Constant Detail | 
|---|
public static final GrabProcessOutput.Wait ASYNC
public static final GrabProcessOutput.Wait WAIT_FOR_PROCESS
GrabProcessOutput.grabProcessOutput(java.lang.Process, com.android.sdklib.util.GrabProcessOutput.Wait, com.android.sdklib.util.GrabProcessOutput.IProcessOutput) returns the
 error code from the process.
 In some rare cases and depending on the OS, the process might not have
 finished dumping data into stdout/stderr.
 
 Use this when you don't particularly care for the output but instead
 care for the return code of the executed process.
public static final GrabProcessOutput.Wait WAIT_FOR_READERS
GrabProcessOutput.grabProcessOutput(java.lang.Process, com.android.sdklib.util.GrabProcessOutput.Wait, com.android.sdklib.util.GrabProcessOutput.IProcessOutput) returns the
 error code from the process.
 
 Use this one when capturing all the output from the process is important.
| Method Detail | 
|---|
public static GrabProcessOutput.Wait[] values()
for (GrabProcessOutput.Wait c : GrabProcessOutput.Wait.values()) System.out.println(c);
public static GrabProcessOutput.Wait 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 name
java.lang.NullPointerException - if the argument is null| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||