hudson.scm.subversion
Class UpdateUpdater.TaskImpl
java.lang.Object
hudson.scm.subversion.WorkspaceUpdater.UpdateTask
hudson.scm.subversion.UpdateUpdater.TaskImpl
- All Implemented Interfaces:
- java.io.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 java.io.IOException
- Returns true if we can use "svn update" instead of "svn checkout"
- Throws:
java.io.IOException
perform
public java.util.List<SubversionSCM.External> perform()
throws java.io.IOException,
java.lang.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:
java.io.IOException
java.lang.InterruptedException
preUpdate
protected void preUpdate(SubversionSCM.ModuleLocation module,
java.io.File local)
throws org.tmatesoft.svn.core.SVNException,
java.io.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
java.io.IOException
Copyright © 2011. All Rights Reserved.