com.rapidminer.tools
Interface ProgressListener


public interface ProgressListener

Interface for time consuming tasks.

Author:
Simon Fischer

Method Summary
 void complete()
          Notifies the listener that the task is complete.
 void setCompleted(int completed)
          Sets the amount of work completed, in the range [0, #getTotal().
 void setMessage(java.lang.String message)
          An optional message to display to the user.
 void setTotal(int total)
          Sets the total amount of work to do, on an arbitrary scale.
 

Method Detail

setTotal

void setTotal(int total)
Sets the total amount of work to do, on an arbitrary scale.


setCompleted

void setCompleted(int completed)
Sets the amount of work completed, in the range [0, #getTotal().


complete

void complete()
Notifies the listener that the task is complete.


setMessage

void setMessage(java.lang.String message)
An optional message to display to the user.



Copyright © 2001-2009 by Rapid-I