- java.lang.Object
-
- java.lang.Enum<ProcessRunner.Status>
-
- de.carne.test.swt.platform.ProcessRunner.Status
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ProcessRunner.Status>
- Enclosing class:
- ProcessRunner
public static enum ProcessRunner.Status extends java.lang.Enum<ProcessRunner.Status>
The status of a ProcessRunner instance.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOT_YET_RUNCommand has not yet been run.RUN_COMPLETEDCommand run completed normally.RUN_FAILEDCommand run failed.RUN_INTERRUPTEDCommand execution was interrupted.RUN_TIMED_OUTCommand run timed out.START_FAILEDCommand start failed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProcessRunner.StatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ProcessRunner.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_YET_RUN
public static final ProcessRunner.Status NOT_YET_RUN
Command has not yet been run.
-
START_FAILED
public static final ProcessRunner.Status START_FAILED
Command start failed.
-
RUN_FAILED
public static final ProcessRunner.Status RUN_FAILED
Command run failed.
-
RUN_TIMED_OUT
public static final ProcessRunner.Status RUN_TIMED_OUT
Command run timed out.
-
RUN_INTERRUPTED
public static final ProcessRunner.Status RUN_INTERRUPTED
Command execution was interrupted.
-
RUN_COMPLETED
public static final ProcessRunner.Status RUN_COMPLETED
Command run completed normally.
-
-
Method Detail
-
values
public static ProcessRunner.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ProcessRunner.Status c : ProcessRunner.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProcessRunner.Status valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-