org.apache.maven.scm.provider.svn.svnjava.util
Class SvnStatusHandler

java.lang.Object
  extended by org.apache.maven.scm.provider.svn.svnjava.util.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 the SVNStatus file status to a ScmFileStatus

The structure and comments in this method were taken from the tmate.org example file: org.tmatesoft.svn.examples.wc.StatusHandler

Version:
$Id: SvnStatusHandler.java 493 2011-01-09 18:03:05Z oliver.lamy $
Author:
David Hawkins

Field Summary
 
Fields inherited from interface org.tmatesoft.svn.core.wc.ISVNEventHandler
UNKNOWN
 
Fields inherited from interface org.tmatesoft.svn.core.ISVNCanceller
NULL
 
Constructor Summary
SvnStatusHandler()
           
 
Method Summary
 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)
          This is an implementation of {@link ISVNStatusHandler#handleStatus(org.tmatesoft.svn.core.wc.SVNStatus)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SvnStatusHandler

public SvnStatusHandler()
Method Detail

handleStatus

public void handleStatus(org.tmatesoft.svn.core.wc.SVNStatus status)
This is an implementation of {@link ISVNStatusHandler#handleStatus(org.tmatesoft.svn.core.wc.SVNStatus)

Specified by:
handleStatus in interface org.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 interface org.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 interface org.tmatesoft.svn.core.ISVNCanceller
Throws:
org.tmatesoft.svn.core.SVNCancelException

getFiles

public List<org.apache.maven.scm.ScmFile> getFiles()


Copyright © 2011. All Rights Reserved.