Package org.apache.jackrabbit.vault.util
Class DefaultProgressListener
- java.lang.Object
-
- org.apache.jackrabbit.vault.util.DefaultProgressListener
-
- All Implemented Interfaces:
ProgressTrackerListener
public class DefaultProgressListener extends Object implements ProgressTrackerListener
DefaultProgressListener
...
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.jackrabbit.vault.fs.api.ProgressTrackerListener
ProgressTrackerListener.Mode
-
-
Constructor Summary
Constructors Constructor Description DefaultProgressListener()
DefaultProgressListener(PrintWriter out)
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
DefaultProgressListener
public DefaultProgressListener()
-
DefaultProgressListener
public DefaultProgressListener(PrintWriter out)
-
-
Method Detail
-
onMessage
public void onMessage(ProgressTrackerListener.Mode mode, String action, String path)
Description copied from interface:ProgressTrackerListener
Is called when a message is received.- Specified by:
onMessage
in interfaceProgressTrackerListener
- Parameters:
mode
- message modeaction
- actionpath
- path or message the action was performed on
-
onError
public void onError(ProgressTrackerListener.Mode mode, String path, Exception e)
Description copied from interface:ProgressTrackerListener
Is called when an error is received.- Specified by:
onError
in interfaceProgressTrackerListener
- Parameters:
mode
- message modepath
- path or messagee
- error
-
-