oracle.dmt.odm
Class MiningTaskState

java.lang.Object
  |
  +--oracle.dmt.odm.Enum
        |
        +--oracle.dmt.odm.MiningTaskState
All Implemented Interfaces:
java.io.Serializable

public class MiningTaskState
extends Enum

The enumeration class MiningTaskState is used to represent the following states of a mining task:

Since:
ODM 9.2.0
See Also:
Serialized Form

Field Summary
TypeField
static MiningTaskState error
          If the task execution fails.
static MiningTaskState executing
          Task is getting excuted in the DMS.
static MiningTaskState initiated
          Task is dequeued and initiated to execute in the DMS.
static MiningTaskState queued
          In this state task is in the queue of the DMS.
static MiningTaskState ready
          Ready to execute, a task will come to this state only after storing the task in the DMS
static MiningTaskState success
          If the task execution succeeds.
static MiningTaskState terminated
          Task is terminated.
static MiningTaskState terminating
          Task is in the process of terminating.
 
Method Summary
TypeMethod
static MiningTaskState getInstance(int id)
          Returns a specified DataType instance.
static MiningTaskState getInstance(java.lang.String name)
          Returns a specified DataType instance.
static MiningTaskState[] list()
          Return a list of all MiningTaskState values
static java.lang.String[] listNames()
          Returns a list (array) of all MiningTaskState names.
 
Methods inherited from class oracle.dmt.odm.Enum
getEnum, getID, isEqual
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ready

public static final MiningTaskState ready
Ready to execute, a task will come to this state only after storing the task in the DMS

queued

public static final MiningTaskState queued
In this state task is in the queue of the DMS.

initiated

public static final MiningTaskState initiated
Task is dequeued and initiated to execute in the DMS.

executing

public static final MiningTaskState executing
Task is getting excuted in the DMS.

terminating

public static final MiningTaskState terminating
Task is in the process of terminating.

terminated

public static final MiningTaskState terminated
Task is terminated.

success

public static final MiningTaskState success
If the task execution succeeds.

error

public static final MiningTaskState error
If the task execution fails. In this state the MiningTaskStatus object must have an error string in it.
Method Detail

listNames

public static java.lang.String[] listNames()
Returns a list (array) of all MiningTaskState names.
Returns:
String[]

list

public static MiningTaskState[] list()
Return a list of all MiningTaskState values
Returns:
MiningTaskState[]

getInstance

public static MiningTaskState getInstance(java.lang.String name)
Returns a specified DataType instance.
Parameters:
name - -- The instance
Returns:
values[ni} - Value of the instance.

getInstance

public static MiningTaskState getInstance(int id)
Returns a specified DataType instance.
Parameters:
name - -- Value of the instance
Returns:
values[ni} - The instance.