hudson.scm.subversion
Class WorkspaceUpdater

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<WorkspaceUpdater>
      extended by hudson.scm.subversion.WorkspaceUpdater
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<WorkspaceUpdater>, java.io.Serializable
Direct Known Subclasses:
CheckoutUpdater, UpdateUpdater, UpdateWithCleanUpdater, UpdateWithRevertUpdater

@ExportedBean
public abstract class WorkspaceUpdater
extends hudson.model.AbstractDescribableImpl<WorkspaceUpdater>
implements hudson.ExtensionPoint, java.io.Serializable

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
See Also:
Serialized Form

Nested Class Summary
static class WorkspaceUpdater.UpdateTask
          This object gets instantiated on the master and then sent to the slave via remoting, then used to perform the actual checkout activity.
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
WorkspaceUpdater()
           
 
Method Summary
abstract  WorkspaceUpdater.UpdateTask createTask()
          Creates the WorkspaceUpdater.UpdateTask instance, which performs the actual check out / update.
 WorkspaceUpdaterDescriptor getDescriptor()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkspaceUpdater

public WorkspaceUpdater()
Method Detail

createTask

public abstract WorkspaceUpdater.UpdateTask createTask()
Creates the WorkspaceUpdater.UpdateTask instance, which performs the actual check out / update.


getDescriptor

public WorkspaceUpdaterDescriptor getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<WorkspaceUpdater>
Overrides:
getDescriptor in class hudson.model.AbstractDescribableImpl<WorkspaceUpdater>


Copyright © 2011. All Rights Reserved.