|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.scm.subversion.WorkspaceUpdater.UpdateTask
public abstract 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.
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.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
WorkspaceUpdater.UpdateTask()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public WorkspaceUpdater.UpdateTask()
| Method Detail |
|---|
public abstract List<SubversionSCM.External> perform()
throws IOException,
InterruptedException
Use the fields defined in this class that defines the parameters of the check out.
IOException
InterruptedException
protected List<SubversionSCM.External> delegateTo(WorkspaceUpdater.UpdateTask t)
throws IOException,
InterruptedException
IOException
InterruptedException
protected final List<SubversionSCM.External> delegateTo(WorkspaceUpdater wu)
throws IOException,
InterruptedException
CheckoutUpdater.
IOException
InterruptedExceptionprotected 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||