public class ScmFileEventHandler extends Object implements org.tmatesoft.svn.core.wc.ISVNEventHandler
ISVNStatusHandler
implementation for most
scm commands. Creates a list of ScmFile
objects and determines
the ScmFileStatus
from the
SVNEvent.getExpectedAction()
.Constructor and Description |
---|
ScmFileEventHandler(org.apache.maven.scm.log.ScmLogger logger,
File baseDirectory)
The logger is used in alerting the user to unknown file statuses.
|
Modifier and Type | Method and Description |
---|---|
void |
checkCancelled() |
List<org.apache.maven.scm.ScmFile> |
getFiles()
Returns the list of files collected from handling events.
|
void |
handleEvent(org.tmatesoft.svn.core.wc.SVNEvent event,
double progress)
Creates a
ScmFile for each event with the exception of directories. |
public ScmFileEventHandler(org.apache.maven.scm.log.ScmLogger logger, File baseDirectory)
public void handleEvent(org.tmatesoft.svn.core.wc.SVNEvent event, double progress)
ScmFile
for each event with the exception of directories.
Directory events are ignored.handleEvent
in interface org.tmatesoft.svn.core.wc.ISVNEventHandler
public void checkCancelled() throws org.tmatesoft.svn.core.SVNCancelException
checkCancelled
in interface org.tmatesoft.svn.core.ISVNCanceller
org.tmatesoft.svn.core.SVNCancelException
public List<org.apache.maven.scm.ScmFile> getFiles()
ScmFile
objectsCopyright © 2013. All Rights Reserved.