javax.datamining.base
Interface Task

All Superinterfaces:
MiningObject
All Known Subinterfaces:
ApplyTask, BuildTask, ClassificationTestMetricsTask, ClassificationTestTask, ComputeStatisticsTask, DataSetApplyTask, ExportTask, ImportTask, RecordApplyTask, RegressionTestMetricsTask, RegressionTestTask, TestMetricsTask, TestTask

public interface Task
extends MiningObject

The interface Task is an abstraction of the metadata needed to perform a mining operation. Tasks allow for subsequent reference to a task, reuse (re-execution), and deferred execution. Execution is initiated via Connection using the execute method, which in turn returns the execution handle used to further control the asynchronous execution of the task, or returns the status of the synchronous execution after completion.

Author:
JSR-73 Java Data Mining Expert Group
See Also:
MiningObject

Method Summary
 ExecutionHandle getExecutionHandle()
          Returns the execution handle for the task, whether its execution is still running or finished.
 
Methods inherited from interface javax.datamining.MiningObject
getCreationDate, getCreatorInfo, getDescription, getName, getObjectIdentifier, getObjectType, setDescription
 

Method Detail

getExecutionHandle

public ExecutionHandle getExecutionHandle()
                                   throws JDMException
Returns the execution handle for the task, whether its execution is still running or finished. Returns null if no execution has not begun.

Returns:
ExecutionHandle
Throws:
JDMException