2.17.2: 2011-06-17

net.sf.basedb.core
Interface ProgressReporter

All Known Subinterfaces:
AbsoluteProgressReporter
All Known Implementing Classes:
ChainedProgressReporter, ConsoleProgressReporter, Job.ProgressReporterImpl, ProgressReporterSignalHandler, SimpleAbsoluteProgressReporter, SimpleProgressReporter, SimpleSignalProgressReporter

public interface ProgressReporter

Certain methods in BASE 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 or -1 if not known
message - A message, or null

append

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

Parameters:
message - The message

2.17.2: 2011-06-17