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
ISVNStatusHandler
implementation for status events. Converts theSVNStatus
file status to aScmFileStatus
The 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 void
checkCancelled()
Should be implemented to check if the current operation is cancelled.List<org.apache.maven.scm.ScmFile>
getFiles()
void
handleEvent(org.tmatesoft.svn.core.wc.SVNEvent event, double progress)
This is an implementation for ISVNEventHandler.handleEvent(SVNEvent event, double progress)void
handleStatus(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:
handleStatus
in 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:
handleEvent
in interfaceorg.tmatesoft.svn.core.wc.ISVNEventHandler
-
checkCancelled
public void checkCancelled() throws org.tmatesoft.svn.core.SVNCancelException
Should be implemented to check if the current operation is cancelled. If it is, this method should throw an SVNCancelException.- Specified by:
checkCancelled
in interfaceorg.tmatesoft.svn.core.ISVNCanceller
- Throws:
org.tmatesoft.svn.core.SVNCancelException
-
getFiles
public List<org.apache.maven.scm.ScmFile> getFiles()
-
-