Package org.tmatesoft.svn.core.wc
Class SVNEventAdapter
- java.lang.Object
-
- org.tmatesoft.svn.core.wc.SVNEventAdapter
-
- All Implemented Interfaces:
ISVNCanceller
,ISVNEventHandler
public class SVNEventAdapter extends java.lang.Object implements ISVNEventHandler
SVNEventAdapter is an adapter class forISVNEventHandler
. Users's event handler implementations should extend this adapter class rather than implementingISVNEventHandler
directly. This way, if theISVNEventHandler
interface is changed in future, users' event handler implementations won't get broken since the changes will be reflected in this adapter class.- Since:
- 1.2
- Version:
- 1.3
- Author:
- TMate Software Ltd.
-
-
Field Summary
-
Fields inherited from interface org.tmatesoft.svn.core.ISVNCanceller
NULL
-
Fields inherited from interface org.tmatesoft.svn.core.wc.ISVNEventHandler
UNKNOWN
-
-
Constructor Summary
Constructors Constructor Description SVNEventAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkCancelled()
Does nothing.void
handleEvent(SVNEvent event, double progress)
Does nothing.
-
-
-
Method Detail
-
checkCancelled
public void checkCancelled() throws SVNCancelException
Does nothing. To be overridden by a user's implementation.- Specified by:
checkCancelled
in interfaceISVNCanceller
- Throws:
SVNCancelException
-
handleEvent
public void handleEvent(SVNEvent event, double progress) throws SVNException
Does nothing. To be overridden by a user's implementation.- Specified by:
handleEvent
in interfaceISVNEventHandler
- Parameters:
event
-progress
-- Throws:
SVNException
-
-