Interface ProgressTrackerListener
-
- All Known Implementing Classes:
DefaultProgressListener
,HtmlProgressListener
public interface ProgressTrackerListener
AProgressTrackerListener
can be provided by clients to receive messages and errors during operations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ProgressTrackerListener.Mode
Message mode
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onError(ProgressTrackerListener.Mode mode, String path, Exception e)
Is called when an error is received.void
onMessage(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
-
-