MOA 12.03
Real Time Analytics for Data Streams
moa.tasks.NullMonitor Class Reference

Class that represents a null monitor. More...

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

List of all members.

Public Member Functions

void setCurrentActivity (String activityDescription, double fracComplete)
 Sets the description and the percentage done of the current activity.
void setCurrentActivityDescription (String activity)
 Sets the description of the current activity.
void setCurrentActivityFractionComplete (double fracComplete)
 Sets the percentage done of the current activity.
boolean taskShouldAbort ()
 Gets whether the task should abort.
String getCurrentActivityDescription ()
 Gets the description of the current activity.
double getCurrentActivityFractionComplete ()
 Gets the percentage done of the current activity.
boolean isPaused ()
 Gets whether the task monitored is paused.
boolean isCancelled ()
 Gets whether the task monitored is cancelled.
void requestCancel ()
 Requests the task monitored to cancel.
void requestPause ()
 Requests the task monitored to pause.
void requestResume ()
 Requests the task monitored to resume.
Object getLatestResultPreview ()
 Gets the current result to preview.
void requestResultPreview ()
 Requests to preview the task result.
boolean resultPreviewRequested ()
 Gets whether there is a request for preview the task result.
void setLatestResultPreview (Object latestPreview)
 Sets the current result to preview.
void requestResultPreview (ResultPreviewListener toInform)
 Requests to preview the task result.

Detailed Description

Class that represents a null monitor.

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

Definition at line 28 of file NullMonitor.java.


Member Function Documentation

String moa.tasks.NullMonitor.getCurrentActivityDescription ( )

Gets the description of the current activity.

Returns:
the description of the current activity

Implements moa.tasks.TaskMonitor.

Definition at line 49 of file NullMonitor.java.

double moa.tasks.NullMonitor.getCurrentActivityFractionComplete ( )

Gets the percentage done of the current activity.

Returns:
the percentage done of the current activity

Implements moa.tasks.TaskMonitor.

Definition at line 54 of file NullMonitor.java.

Object moa.tasks.NullMonitor.getLatestResultPreview ( )

Gets the current result to preview.

Returns:
the result to preview

Implements moa.tasks.TaskMonitor.

Definition at line 81 of file NullMonitor.java.

boolean moa.tasks.NullMonitor.isCancelled ( )

Gets whether the task monitored is cancelled.

Returns:
true if the task is cancelled

Implements moa.tasks.TaskMonitor.

Definition at line 64 of file NullMonitor.java.

boolean moa.tasks.NullMonitor.isPaused ( )

Gets whether the task monitored is paused.

Returns:
true if the task is paused

Implements moa.tasks.TaskMonitor.

Definition at line 59 of file NullMonitor.java.

void moa.tasks.NullMonitor.requestCancel ( )

Requests the task monitored to cancel.

Implements moa.tasks.TaskMonitor.

Definition at line 69 of file NullMonitor.java.

void moa.tasks.NullMonitor.requestPause ( )

Requests the task monitored to pause.

Implements moa.tasks.TaskMonitor.

Definition at line 73 of file NullMonitor.java.

void moa.tasks.NullMonitor.requestResultPreview ( ResultPreviewListener  toInform)

Requests to preview the task result.

Parameters:
toInformthe listener of the changes in the preview of the result

Implements moa.tasks.TaskMonitor.

Definition at line 99 of file NullMonitor.java.

void moa.tasks.NullMonitor.requestResultPreview ( )

Requests to preview the task result.

Implements moa.tasks.TaskMonitor.

Definition at line 86 of file NullMonitor.java.

void moa.tasks.NullMonitor.requestResume ( )

Requests the task monitored to resume.

Implements moa.tasks.TaskMonitor.

Definition at line 77 of file NullMonitor.java.

boolean moa.tasks.NullMonitor.resultPreviewRequested ( )

Gets whether there is a request for preview the task result.

Returns:
true if there is a request for preview the task result

Implements moa.tasks.TaskMonitor.

Definition at line 90 of file NullMonitor.java.

void moa.tasks.NullMonitor.setCurrentActivity ( String  activityDescription,
double  fracComplete 
)

Sets the description and the percentage done of the current activity.

Parameters:
activitythe description of the current activity
fracCompletethe percentage done of the current activity

Implements moa.tasks.TaskMonitor.

Definition at line 31 of file NullMonitor.java.

void moa.tasks.NullMonitor.setCurrentActivityDescription ( String  activity)

Sets the description of the current activity.

Parameters:
activitythe description of the current activity

Implements moa.tasks.TaskMonitor.

Definition at line 36 of file NullMonitor.java.

void moa.tasks.NullMonitor.setCurrentActivityFractionComplete ( double  fracComplete)

Sets the percentage done of the current activity.

Parameters:
fracCompletethe percentage done of the current activity

Implements moa.tasks.TaskMonitor.

Definition at line 40 of file NullMonitor.java.

void moa.tasks.NullMonitor.setLatestResultPreview ( Object  latestPreview)

Sets the current result to preview.

Parameters:
latestPreviewthe result to preview

Implements moa.tasks.TaskMonitor.

Definition at line 95 of file NullMonitor.java.

boolean moa.tasks.NullMonitor.taskShouldAbort ( )

Gets whether the task should abort.

Returns:
true if the task should abort

Implements moa.tasks.TaskMonitor.

Definition at line 44 of file NullMonitor.java.


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