Package net.sf.basedb.core
Interface ProgressReporter
-
- All Known Subinterfaces:
AbsoluteProgressReporter
- All Known Implementing Classes:
ChainedProgressReporter
,ConsoleProgressReporter
,GeoLocation.ResponseFilter
,Job.ProgressReporterImpl
,ProgressReporterSignalHandler
,SimpleAbsoluteProgressReporter
,SimpleProgressReporter
,SimpleSignalProgressReporter
,TransferRateProgressReporter
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 knownmessage
- A message, or null
-
append
void append(String message)
Append a message to the previous one.- Parameters:
message
- The message
-
-