hudson.scm
Class BlameSubversionEventHandlerImpl

java.lang.Object
  extended by org.tmatesoft.svn.core.wc.SVNEventAdapter
      extended by hudson.scm.BlameSubversionEventHandlerImpl
All Implemented Interfaces:
org.tmatesoft.svn.core.ISVNCanceller, org.tmatesoft.svn.core.wc.ISVNEventHandler

public class BlameSubversionEventHandlerImpl
extends org.tmatesoft.svn.core.wc.SVNEventAdapter

ISVNEventHandler that emulates the SVN CLI behavior. Modify: changed by tang

Author:
tang,Kohsuke Kawaguchi

Field Summary
protected  File baseDir
           
protected  PrintStream out
           
 
Fields inherited from interface org.tmatesoft.svn.core.wc.ISVNEventHandler
UNKNOWN
 
Fields inherited from interface org.tmatesoft.svn.core.ISVNCanceller
NULL
 
Constructor Summary
BlameSubversionEventHandlerImpl(PrintStream out, File baseDir)
           
 
Method Summary
static String getLocalPath(String path)
           
 String getRelativePath(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
 

Field Detail

out

protected final PrintStream out

baseDir

protected final File baseDir
Constructor Detail

BlameSubversionEventHandlerImpl

public BlameSubversionEventHandlerImpl(PrintStream out,
                                       File baseDir)
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 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 String getRelativePath(File file)
                       throws IOException
Throws:
IOException

getLocalPath

public static String getLocalPath(String path)


Copyright © 2004-2012 Hudson. All Rights Reserved.