Oracle Data Mining Java API Reference
10g Release 1 (10.1)

B12276-01

oracle.dmt.odm.task
Class MiningTaskStatus

java.lang.Object
  |
  +--oracle.dmt.odm.task.MiningTaskStatus

public class MiningTaskStatus
extends java.lang.Object

An instance of MiningTaskStatus provides the following details on the state of a tasks execution:

A given task may have multiple MiningTaskStatus instances that provide a status history for the task .

Since:
ODM 9.2.0

Constructor Summary
MiningTaskStatus(MiningTaskState state, java.sql.Timestamp timeStamp, java.lang.String stateDescription)
          Creates a MiningTaskStatus instance with the specified MiningTaskState, state entry time stamp, and description.

 

Method Summary
 java.lang.String getStateDescription()
          Returns the description for the task state.
 MiningTaskState getTaskState()
          Returns the mining task state enumeration.
 java.sql.Timestamp getTimestamp()
          Returns the timestamp for the MiningTaskStatus instance.
 java.lang.String toString()
          Converts object to a string representation.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

MiningTaskStatus

public MiningTaskStatus(MiningTaskState state,
                        java.sql.Timestamp timeStamp,
                        java.lang.String stateDescription)
Creates a MiningTaskStatus instance with the specified MiningTaskState, state entry time stamp, and description.
Parameters:
state - - MiningTaskState
timeStamp - - state entry time stamp
stateDescription - - state description
Method Detail

getTaskState

public MiningTaskState getTaskState()
Returns the mining task state enumeration.
Returns:
task state

getTimestamp

public java.sql.Timestamp getTimestamp()
Returns the timestamp for the MiningTaskStatus instance.
Returns:
state entry timestamp.

getStateDescription

public java.lang.String getStateDescription()
Returns the description for the task state. If there is no description for that task, it returns null. If there is any error in performing the task at a particular state, an error string must be returned.
Returns:
state description.

toString

public java.lang.String toString()
Converts object to a string representation.
Overrides:
toString in class java.lang.Object

Copyright © 2003 Oracle Corporation. All Rights Reserved.