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 |
|---|---|
protected org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider |
authProvider
Encapusulates the authentication.
|
protected Date |
buildTime
When the build was started.
|
protected hudson.model.TaskListener |
listener
Connected to build console.
|
protected SubversionSCM.ModuleLocation[] |
locations
Modules to check out.
|
protected org.tmatesoft.svn.core.wc.SVNClientManager |
manager
Factory for various subversion commands.
|
protected Date |
queueTime
When the build was scheduled.
|
protected RevisionParameterAction |
revisionParameterAction
If the build parameter is specified with specific version numbers, this field captures that.
|
protected SubversionSCM.RevisionPolicy |
revisionPolicy
Global defined revision policy.
|
protected static String |
SVN_CANCEL_EXCEPTION_MESSAGE |
protected File |
ws
Build workspace.
|
| Constructor and Description |
|---|
WorkspaceUpdater.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 location)
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.
|
protected static final String SVN_CANCEL_EXCEPTION_MESSAGE
protected org.tmatesoft.svn.core.wc.SVNClientManager manager
protected org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider authProvider
protected Date queueTime
protected Date buildTime
protected hudson.model.TaskListener listener
protected SubversionSCM.ModuleLocation[] locations
protected File ws
protected RevisionParameterAction revisionParameterAction
protected SubversionSCM.RevisionPolicy revisionPolicy
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 location)
protected static org.tmatesoft.svn.core.SVNDepth getSvnDepth(String name)
SVNDepth by string value.SVNDepth value.Copyright © 2004-2015 Hudson. All Rights Reserved.