Last update: 2011-06-23

org.proteios.core
Interface ProgressReporter

All Known Subinterfaces:
AbsoluteProgressReporter
All Known Implementing Classes:
ChainedProgressReporter, ConsoleProgressReporter, SimpleAbsoluteProgressReporter, SimpleProgressReporter

public interface ProgressReporter

Certain methods in Proteios can report their progress back to the calling client application if they are giving an object that implements this interface.

Version:
2.0
Author:
Nicklas

Method Summary
 void append(String message)
          Append a message to the previous one.
 void display(int percent, String message)
          Display a progress message.
 

Method Detail

display

void display(int percent,
             String message)
Display a progress message.

Parameters:
percent - How many percent of the task that is completed
message - A message, or null

append

void append(String message)
Append a message to the previous one.

Parameters:
message - The message

Last update: 2011-06-23