MOA 12.03
Real Time Analytics for Data Streams
moa.tasks.Task Interface Reference

Interface representing a task. More...

Inheritance diagram for moa.tasks.Task:
Collaboration diagram for moa.tasks.Task:

List of all members.

Public Member Functions

Class<?> getTaskResultType ()
 Gets the result type of this task.
Object doTask ()
 This method performs this task, when TaskMonitor and ObjectRepository are no needed.
Object doTask (TaskMonitor monitor, ObjectRepository repository)
 This method performs this task.

Detailed Description

Interface representing a task.

Author:
Richard Kirkby (rkirkby@cs.waikato.ac.nz)
Version:
Revision:
7

Definition at line 31 of file Task.java.


Member Function Documentation

Object moa.tasks.Task.doTask ( )

This method performs this task, when TaskMonitor and ObjectRepository are no needed.

Returns:
an object with the result of this task

Implemented in moa.tasks.AbstractTask.

Referenced by moa.tasks.RunTasks.doMainTask(), moa.DoTask.main(), moa.options.AbstractClassOption.materializeObject(), and moa.tasks.TaskThread.run().

Here is the caller graph for this function:

Object moa.tasks.Task.doTask ( TaskMonitor  monitor,
ObjectRepository  repository 
)

This method performs this task.

AbstractTask implements this method so all its extensions only need to implement doTaskImpl

Parameters:
monitorthe TaskMonitor to use
repositorythe ObjectRepository to use
Returns:
an object with the result of this task

Implemented in moa.tasks.AbstractTask.

Class<?> moa.tasks.Task.getTaskResultType ( )

The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations