hudson.scm
Class SubversionEventHandlerImpl
java.lang.Object
org.tmatesoft.svn.core.wc.SVNEventAdapter
hudson.scm.SubversionEventHandlerImpl
- All Implemented Interfaces:
- org.tmatesoft.svn.core.ISVNCanceller, org.tmatesoft.svn.core.wc.ISVNEventHandler
public class SubversionEventHandlerImpl
- extends org.tmatesoft.svn.core.wc.SVNEventAdapter
ISVNEventHandler that emulates the SVN CLI behavior.
- Author:
- Kohsuke Kawaguchi
|
Field Summary |
protected java.io.File |
baseDir
|
protected java.io.PrintStream |
out
|
| Fields inherited from interface org.tmatesoft.svn.core.wc.ISVNEventHandler |
UNKNOWN |
| Fields inherited from interface org.tmatesoft.svn.core.ISVNCanceller |
NULL |
|
Method Summary |
static java.lang.String |
getLocalPath(java.lang.String path)
|
java.lang.String |
getRelativePath(java.io.File file)
|
void |
handleEvent(org.tmatesoft.svn.core.wc.SVNEvent event,
double progress)
|
| Methods inherited from class org.tmatesoft.svn.core.wc.SVNEventAdapter |
checkCancelled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
out
protected final java.io.PrintStream out
baseDir
protected final java.io.File baseDir
SubversionEventHandlerImpl
public SubversionEventHandlerImpl(java.io.PrintStream out,
java.io.File baseDir)
handleEvent
public void handleEvent(org.tmatesoft.svn.core.wc.SVNEvent event,
double progress)
throws org.tmatesoft.svn.core.SVNException
- Specified by:
handleEvent in interface org.tmatesoft.svn.core.wc.ISVNEventHandler- Overrides:
handleEvent in class org.tmatesoft.svn.core.wc.SVNEventAdapter
- Throws:
org.tmatesoft.svn.core.SVNException
getRelativePath
public java.lang.String getRelativePath(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
getLocalPath
public static java.lang.String getLocalPath(java.lang.String path)
Copyright © 2010. All Rights Reserved.