hudson.scm.subversion
Class SwitchUpdater.TaskImpl
java.lang.Object
hudson.scm.subversion.WorkspaceUpdater.UpdateTask
hudson.scm.subversion.SwitchUpdater.TaskImpl
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- SwitchUpdater
public static class SwitchUpdater.TaskImpl
- extends WorkspaceUpdater.UpdateTask
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwitchUpdater.TaskImpl
public SwitchUpdater.TaskImpl()
isSwitchable
protected boolean isSwitchable()
throws IOException
- Returns true if we can use "svn switch" instead of "svn checkout"
- Throws:
IOException
perform
public List<SubversionSCM.External> perform()
throws IOException,
InterruptedException
- Description copied from class:
WorkspaceUpdater.UpdateTask
- Performs the checkout/update.
Use the fields defined in this class that defines the parameters of the check out.
- Specified by:
perform in class WorkspaceUpdater.UpdateTask
- Returns:
- Where svn:external mounting happened. Can be empty but never null.
- Throws:
IOException
InterruptedException
preUpdate
protected void preUpdate(SubversionSCM.ModuleLocation module,
File local)
throws org.tmatesoft.svn.core.SVNException,
IOException
- Hook for subtype to perform some cleanup activity before "svn switch" takes place.
- Parameters:
module - Remote repository that corresponds to the workspace.local - Local directory that gets the update from the module.
- Throws:
org.tmatesoft.svn.core.SVNException
IOException
Copyright © 2004-2013 Hudson. All Rights Reserved.