Package hudson.scm.subversion
Class UpdateUpdater.TaskImpl
java.lang.Object
hudson.scm.subversion.WorkspaceUpdater.UpdateTask
hudson.scm.subversion.UpdateUpdater.TaskImpl
- All Implemented Interfaces:
Serializable,org.jenkinsci.remoting.SerializableOnlyOverRemoting
- Direct Known Subclasses:
UpdateWithCleanUpdater.TaskImpl,UpdateWithRevertUpdater.TaskImpl
- Enclosing class:
- UpdateUpdater
- See Also:
-
Field Summary
Fields inherited from class hudson.scm.subversion.WorkspaceUpdater.UpdateTask
authProvider, clientManager, listener, location, manager, quietOperation, revisions, timestamp, ws -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected hudson.scm.subversion.UpdateUpdater.SvnCommandToUseReturns whether we can do a "svn update" or a "svn switch" or a "svn checkout"perform()Performs the checkout/update.protected voidpreUpdate(SubversionSCM.ModuleLocation module, File local) Hook for subtype to perform some cleanup activity before "svn update" takes place.Methods inherited from class hudson.scm.subversion.WorkspaceUpdater.UpdateTask
delegateTo, delegateTo, getRevision, getSvnDepthMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jenkinsci.remoting.SerializableOnlyOverRemoting
getChannelForSerialization
-
Constructor Details
-
TaskImpl
public TaskImpl(int workspaceFormat)
-
-
Method Details
-
getSvnCommandToUse
protected hudson.scm.subversion.UpdateUpdater.SvnCommandToUse getSvnCommandToUse() throws IOExceptionReturns whether we can do a "svn update" or a "svn switch" or a "svn checkout"- Throws:
IOException
-
perform
Description copied from class:WorkspaceUpdater.UpdateTaskPerforms the checkout/update.Use the fields defined in this class that defines the parameters of the check out.
- Specified by:
performin classWorkspaceUpdater.UpdateTask- Returns:
- Where svn:external mounting happened. Can be empty but never null.
- Throws:
IOExceptionInterruptedException
-
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.SVNExceptionIOException
-