public abstract static class WorkspaceUpdater.UpdateTask extends Object implements Serializable
A number of contextual objects are defined as fields, to be used by the perform() method.
These fields are set by SubversionSCM before the invocation.
| Modifier and Type | Field and Description |
|---|---|
org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider |
authProvider
Encapusulates the authentication.
|
SvnClientManager |
clientManager
Factory for various subversion commands.
|
hudson.model.TaskListener |
listener
Connected to build console.
|
SubversionSCM.ModuleLocation |
location
Modules to check out.
|
org.tmatesoft.svn.core.wc.SVNClientManager |
manager
Deprecated.
as of 1.40
Use
clientManager |
RevisionParameterAction |
revisions
If the build parameter is specified with specific version numbers, this field captures that.
|
Date |
timestamp
In the absence of a revision-specific check out, we want to check out by this timestamp,
not just the latest to ensure consistency.
|
File |
ws
Build workspace.
|
| Constructor and Description |
|---|
UpdateTask() |
| Modifier and Type | Method and Description |
|---|---|
protected List<SubversionSCM.External> |
delegateTo(WorkspaceUpdater.UpdateTask t) |
protected List<SubversionSCM.External> |
delegateTo(WorkspaceUpdater wu)
Delegates the execution to another updater.
|
protected org.tmatesoft.svn.core.wc.SVNRevision |
getRevision(SubversionSCM.ModuleLocation l)
Determines the revision to check out for the given location.
|
protected static org.tmatesoft.svn.core.SVNDepth |
getSvnDepth(String name)
Returns
SVNDepth by string value. |
abstract List<SubversionSCM.External> |
perform()
Performs the checkout/update.
|
public org.tmatesoft.svn.core.wc.SVNClientManager manager
clientManagerpublic SvnClientManager clientManager
public org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider authProvider
public Date timestamp
public hudson.model.TaskListener listener
public SubversionSCM.ModuleLocation location
public File ws
public RevisionParameterAction revisions
public abstract List<SubversionSCM.External> perform() throws IOException, InterruptedException
Use the fields defined in this class that defines the parameters of the check out.
IOExceptionInterruptedExceptionprotected List<SubversionSCM.External> delegateTo(WorkspaceUpdater.UpdateTask t) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected final List<SubversionSCM.External> delegateTo(WorkspaceUpdater wu) throws IOException, InterruptedException
CheckoutUpdater.IOExceptionInterruptedExceptionprotected org.tmatesoft.svn.core.wc.SVNRevision getRevision(SubversionSCM.ModuleLocation l)
protected static org.tmatesoft.svn.core.SVNDepth getSvnDepth(String name)
SVNDepth by string value.SVNDepth value.Copyright © 2004–2015. All rights reserved.