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 SummaryFields inherited from class hudson.scm.subversion.WorkspaceUpdater.UpdateTaskauthProvider, clientManager, listener, location, manager, quietOperation, revisions, timestamp, ws
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.UpdateTaskdelegateTo, delegateTo, getRevision, getSvnDepthMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jenkinsci.remoting.SerializableOnlyOverRemotinggetChannelForSerialization
- 
Constructor Details- 
TaskImplpublic TaskImpl(int workspaceFormat) 
 
- 
- 
Method Details- 
getSvnCommandToUseprotected 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
 
- 
performDescription 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 class- WorkspaceUpdater.UpdateTask
- Returns:
- Where svn:external mounting happened. Can be empty but never null.
- Throws:
- IOException
- InterruptedException
 
- 
preUpdateprotected 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
 
 
-