Package 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
Fields Modifier and Type Field Description protected File
baseDir
protected PrintStream
out
protected boolean
quietOperation
-
Constructor Summary
Constructors Constructor Description SubversionEventHandlerImpl(PrintStream out, File baseDir)
Deprecated.SubversionEventHandlerImpl(PrintStream out, File baseDir, boolean quietOperation)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
getLocalPath(String path)
String
getRelativePath(File file)
void
handleEvent(org.tmatesoft.svn.core.wc.SVNEvent event, double progress)
-
-
-
Field Detail
-
out
protected final PrintStream out
-
baseDir
protected final File baseDir
-
quietOperation
protected final boolean quietOperation
-
-
Constructor Detail
-
SubversionEventHandlerImpl
@Deprecated public SubversionEventHandlerImpl(PrintStream out, File baseDir)
Deprecated.
-
SubversionEventHandlerImpl
public SubversionEventHandlerImpl(PrintStream out, File baseDir, boolean quietOperation)
- Since:
- 2.10
-
-
Method Detail
-
handleEvent
public void handleEvent(org.tmatesoft.svn.core.wc.SVNEvent event, double progress) throws org.tmatesoft.svn.core.SVNException
- Specified by:
handleEvent
in interfaceorg.tmatesoft.svn.core.wc.ISVNEventHandler
- Overrides:
handleEvent
in classorg.tmatesoft.svn.core.wc.SVNEventAdapter
- Throws:
org.tmatesoft.svn.core.SVNException
-
getRelativePath
public String getRelativePath(File file) throws IOException
- Throws:
IOException
-
-