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 implementingISVNEventHandlerdirectly. This way, if theISVNEventHandlerinterface 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 voidcheckCancelled()Does nothing.voidhandleEvent(SVNEvent event, double progress)Does nothing.
-
-
-
Method Detail
-
checkCancelled
public void checkCancelled() throws SVNCancelExceptionDoes nothing. To be overridden by a user's implementation.- Specified by:
checkCancelledin 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:
handleEventin interfaceISVNEventHandler- Parameters:
event-progress-- Throws:
SVNException
-
-