hudson.scm.subversion
Class UpdateUpdater.TaskImpl
java.lang.Object
hudson.scm.subversion.WorkspaceUpdater.UpdateTask
hudson.scm.subversion.UpdateUpdater.TaskImpl
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- UpdateWithCleanUpdater.TaskImpl, UpdateWithRevertUpdater.TaskImpl
- Enclosing class:
- UpdateUpdater
public static class UpdateUpdater.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 |
UpdateUpdater.TaskImpl
public UpdateUpdater.TaskImpl()
isUpdatable
protected boolean isUpdatable()
throws IOException
- Returns true if we can use "svn update" 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 update" 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. All Rights Reserved.