javax.datamining
Class ExecutionState
java.lang.Object
|
+--javax.datamining.Enum
|
+--javax.datamining.ExecutionState
- All Implemented Interfaces:
- java.lang.Comparable, java.io.Serializable
- public class ExecutionState
- extends Enum
The enumeration ExecutionState
represents the states of a task.
- Author:
- JSR-73 Java Data Mining Expert Group
- See Also:
- Serialized Form
|
Method Summary |
static void |
addExtension(java.lang.String name)
Adds a vendor extension name to ExecutionState. |
static ExecutionState |
valueOf(java.lang.String name)
Returns an instance of ExecutionState corresponding to the specified name. |
static ExecutionState[] |
values()
Returns a list of all ExecutionState enumerations defined. |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
error
public static final ExecutionState error
executing
public static final ExecutionState executing
submitted
public static final ExecutionState submitted
success
public static final ExecutionState success
terminated
public static final ExecutionState terminated
terminating
public static final ExecutionState terminating
addExtension
public static void addExtension(java.lang.String name)
throws JDMException
- Adds a vendor extension
name to ExecutionState.
- Parameters:
name - The name of the unique vendor extension
- Throws:
JDMException - When name is an invalid string or redundant to existing standard enums.
valueOf
public static ExecutionState valueOf(java.lang.String name)
throws JDMException
- Returns an instance of
ExecutionState corresponding to the specified name.
- Parameters:
name - The name of the enumeration value
- Returns:
ExecutionState - The instance of the specified enumeration.
- Throws:
JDMException - When name is not valid.
values
public static ExecutionState[] values()
- Returns a list of all
ExecutionState enumerations defined.
- Returns:
ExecutionState[]