net.sourceforge.sconman
Interface IProgressObserver

All Known Implementing Classes:
ConsoleProgressObserver

public interface IProgressObserver

Implementors of this interface will listen to progress events thrown by lengthy operations

Author:
mballesteros

Method Summary
 boolean isPercentileProgressInterested()
          Implementations must return true or false, indicating whether they are interested or not in percentile progress events
 void onPercentileProgressChange(double percent)
          This method will be called when a new percentile progress changes
 void onStatusChange(java.lang.String msg)
          This method will be called when a new status message is emitted by the process
 

Method Detail

isPercentileProgressInterested

boolean isPercentileProgressInterested()
Implementations must return true or false, indicating whether they are interested or not in percentile progress events

Returns:

onStatusChange

void onStatusChange(java.lang.String msg)
This method will be called when a new status message is emitted by the process

Parameters:
msg - The text to be displayed

onPercentileProgressChange

void onPercentileProgressChange(double percent)
This method will be called when a new percentile progress changes

Parameters:
percent - The progress in the range [0..1]


Copyright null null. All Rights Reserved.