Class SvnStatusHandler
- java.lang.Object
-
- org.apache.maven.scm.provider.svn.svnjava.command.status.SvnStatusHandler
-
- All Implemented Interfaces:
org.tmatesoft.svn.core.ISVNCanceller,org.tmatesoft.svn.core.wc.ISVNEventHandler,org.tmatesoft.svn.core.wc.ISVNStatusHandler
public class SvnStatusHandler extends Object implements org.tmatesoft.svn.core.wc.ISVNStatusHandler, org.tmatesoft.svn.core.wc.ISVNEventHandler
ISVNStatusHandlerimplementation for status events. Converts theSVNStatusfile status to aScmFileStatusThe structure and comments in this method were taken from the tmate.org example file: org.tmatesoft.svn.examples.wc.StatusHandler
- Author:
- David Hawkins
-
-
Constructor Summary
Constructors Constructor Description SvnStatusHandler(File baseDir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckCancelled()Should be implemented to check if the current operation is cancelled.List<org.apache.maven.scm.ScmFile>getFiles()voidhandleEvent(org.tmatesoft.svn.core.wc.SVNEvent event, double progress)This is an implementation for ISVNEventHandler.handleEvent(SVNEvent event, double progress)voidhandleStatus(org.tmatesoft.svn.core.wc.SVNStatus status)
-
-
-
Constructor Detail
-
SvnStatusHandler
public SvnStatusHandler(File baseDir)
-
-
Method Detail
-
handleStatus
public void handleStatus(org.tmatesoft.svn.core.wc.SVNStatus status)
- Specified by:
handleStatusin interfaceorg.tmatesoft.svn.core.wc.ISVNStatusHandler
-
handleEvent
public void handleEvent(org.tmatesoft.svn.core.wc.SVNEvent event, double progress)This is an implementation for ISVNEventHandler.handleEvent(SVNEvent event, double progress)- Specified by:
handleEventin interfaceorg.tmatesoft.svn.core.wc.ISVNEventHandler
-
checkCancelled
public void checkCancelled() throws org.tmatesoft.svn.core.SVNCancelExceptionShould be implemented to check if the current operation is cancelled. If it is, this method should throw an SVNCancelException.- Specified by:
checkCancelledin interfaceorg.tmatesoft.svn.core.ISVNCanceller- Throws:
org.tmatesoft.svn.core.SVNCancelException
-
getFiles
public List<org.apache.maven.scm.ScmFile> getFiles()
-
-