Package hudson.scm.subversion
Class WorkspaceUpdater
- All Implemented Interfaces:
ExtensionPoint
,Describable<WorkspaceUpdater>
- Direct Known Subclasses:
CheckoutUpdater
,NoopUpdater
,UpdateUpdater
,UpdateWithCleanUpdater
,UpdateWithRevertUpdater
@ExportedBean
public abstract class WorkspaceUpdater
extends AbstractDescribableImpl<WorkspaceUpdater>
implements ExtensionPoint
Encapsulates the logic of how files are obtained from a subversion repository.
WorkspaceUpdater
serves as a Describable
, created from the UI via databinding and
encapsulates whatever configuration parameter. The checkout logic is in WorkspaceUpdater.UpdateTask
.
- Since:
- 1.23
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
This object gets instantiated on the controller and then sent to the agent via remoting, then used to perform the actual checkout activity.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract WorkspaceUpdater.UpdateTask
createTask
(int workspaceFormat) Creates theWorkspaceUpdater.UpdateTask
instance, which performs the actual check out / update.protected static boolean
isAuthenticationFailedError
(org.tmatesoft.svn.core.SVNCancelException e)
-
Constructor Details
-
WorkspaceUpdater
public WorkspaceUpdater()
-
-
Method Details
-
createTask
Creates theWorkspaceUpdater.UpdateTask
instance, which performs the actual check out / update. -
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<WorkspaceUpdater>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<WorkspaceUpdater>
-
isAuthenticationFailedError
protected static boolean isAuthenticationFailedError(org.tmatesoft.svn.core.SVNCancelException e)
-