Interface ProgressTrackerListener
- All Known Implementing Classes:
DefaultProgressListener,HtmlProgressListener
public interface ProgressTrackerListener
A
ProgressTrackerListener can be provided by clients to
receive messages and errors during operations.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidonError(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 Details
-
onMessage
Is called when a message is received.- Parameters:
mode- message modeaction- actionpath- path or message the action was performed on
-
onError
Is called when an error is received.- Parameters:
mode- message modepath- path or messagee- error
-