Package hudson.scm.subversion
Class WorkspaceUpdater
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<WorkspaceUpdater>
-
- hudson.scm.subversion.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 aDescribable
, created from the UI via databinding and encapsulates whatever configuration parameter. The checkout logic is inWorkspaceUpdater.UpdateTask
.- Since:
- 1.23
- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WorkspaceUpdater.UpdateTask
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 Constructor Description WorkspaceUpdater()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract WorkspaceUpdater.UpdateTask
createTask(int workspaceFormat)
Creates theWorkspaceUpdater.UpdateTask
instance, which performs the actual check out / update.WorkspaceUpdaterDescriptor
getDescriptor()
protected static boolean
isAuthenticationFailedError(org.tmatesoft.svn.core.SVNCancelException e)
-
-
-
Method Detail
-
createTask
public abstract WorkspaceUpdater.UpdateTask createTask(int workspaceFormat)
Creates theWorkspaceUpdater.UpdateTask
instance, which performs the actual check out / update.
-
getDescriptor
public WorkspaceUpdaterDescriptor getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<WorkspaceUpdater>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<WorkspaceUpdater>
-
isAuthenticationFailedError
protected static boolean isAuthenticationFailedError(org.tmatesoft.svn.core.SVNCancelException e)
-
-