Interface ProgressTrackerListener
-
- All Known Implementing Classes:
DefaultProgressListener,HtmlProgressListener
public interface ProgressTrackerListenerAProgressTrackerListenercan be provided by clients to receive messages and errors during operations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classProgressTrackerListener.ModeMessage mode
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonError(ProgressTrackerListener.Mode mode, String path, Exception e)Is called when an error is received.voidonMessage(ProgressTrackerListener.Mode mode, String action, String path)Is called when a message is received.
-
-
-
Method Detail
-
onMessage
void onMessage(ProgressTrackerListener.Mode mode, String action, String path)
Is called when a message is received.- Parameters:
mode- message modeaction- actionpath- path or message the action was performed on
-
onError
void onError(ProgressTrackerListener.Mode mode, String path, Exception e)
Is called when an error is received.- Parameters:
mode- message modepath- path or messagee- error
-
-