Interface DMMonitorListener
-
public interface DMMonitorListenerDefines a listener for operation progress.- Author:
- Giancarlo Panichi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaccepted()Called when the operation is starting.voidcancelled()Called when there is a progress for the operation.voidcomplete(double percentage)Called when the operation is completevoidfailed(String message, Exception exception)Called when the operation is failedvoidrunning(double percentage)Called when the operation is running
-
-
-
Method Detail
-
accepted
void accepted()
Called when the operation is starting.
-
cancelled
void cancelled()
Called when there is a progress for the operation.
-
complete
void complete(double percentage)
Called when the operation is complete- Parameters:
percentage- percentage
-
failed
void failed(String message, Exception exception)
Called when the operation is failed- Parameters:
message- messageexception- exception
-
running
void running(double percentage)
Called when the operation is running- Parameters:
percentage- percentage
-
-