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

B12276-01

oracle.dmt.odm.task
Interface TaskStatusHistory

All Superinterfaces:
java.util.Iterator, java.util.ListIterator

public interface TaskStatusHistory
extends java.util.ListIterator

The interface TaskStatusHistory is an ordered list iterator of task execution statuses. Task statuses are ordered by the status entry timestamp in the descending order. So the latest execution state of the task will be on top of the list.

Since:
ODM 10.1.0
See Also:
oracle.dmt.odm.task.MiningTaskStatus, oracle.dmt.odm.task.ExecutionHandle

Method Summary
 MiningTaskStatus nextTaskExecutionStatus()
          Returns the next task execution status in the status history list.
 MiningTaskStatus previousTaskExecutionStatus()
          Returns the previous task execution status in the status history list.

 

Methods inherited from interface java.util.ListIterator
add, hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove, set

 

Method Detail

nextTaskExecutionStatus

public MiningTaskStatus nextTaskExecutionStatus()
                                                             throws java.util.NoSuchElementException
Returns the next task execution status in the status history list.
Throws:
java.util.NoSuchElementException - is thrown
- if the iteration has no next element.
java.util.NoSuchElementException

previousTaskExecutionStatus

public MiningTaskStatus previousTaskExecutionStatus()
                                                                 throws java.util.NoSuchElementException
Returns the previous task execution status in the status history list.
Throws:
java.util.NoSuchElementException - is thrown
- if the iteration has no previous element.
java.util.NoSuchElementException

Copyright © 2003 Oracle Corporation. All Rights Reserved.