public class MultiSCM
extends hudson.scm.SCM
implements hudson.model.Saveable
| Modifier and Type | Class and Description |
|---|---|
static class |
MultiSCM.DescriptorImpl |
| Constructor and Description |
|---|
MultiSCM(java.util.List<hudson.scm.SCM> scmList) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildEnvVars(hudson.model.AbstractBuild<?,?> build,
java.util.Map<java.lang.String,java.lang.String> env) |
hudson.scm.SCMRevisionState |
calcRevisionsFromBuild(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
void |
checkout(hudson.model.Run<?,?> build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener,
java.io.File changelogFile,
hudson.scm.SCMRevisionState baseline) |
protected hudson.scm.PollingResult |
compareRemoteRevisionWith(hudson.model.AbstractProject<?,?> project,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener,
hudson.scm.SCMRevisionState baseline) |
hudson.scm.ChangeLogParser |
createChangeLogParser() |
java.util.List<hudson.scm.SCM> |
getConfiguredSCMs() |
hudson.FilePath[] |
getModuleRoots(hudson.FilePath workspace,
hudson.model.AbstractBuild build) |
boolean |
requiresWorkspaceForPolling() |
void |
save() |
boolean |
supportsPolling() |
_calcRevisionsFromBuild, _for, _for, all, buildEnvironment, calcRevisionsFromBuild, checkout, compareRemoteRevisionWith, createEmptyChangeLog, createEmptyChangeLog, getApi, getBrowser, getDescriptor, getEffectiveBrowser, getKey, getModuleRoot, getModuleRoot, getModuleRoots, getType, guessBrowser, nullify, poll, pollChanges, postCheckout, postCheckout, processWorkspaceBeforeDeletion, processWorkspaceBeforeDeletion@DataBoundConstructor
public MultiSCM(java.util.List<hudson.scm.SCM> scmList)
throws java.io.IOException
java.io.IOException@Exported public java.util.List<hudson.scm.SCM> getConfiguredSCMs()
public hudson.scm.SCMRevisionState calcRevisionsFromBuild(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
throws java.io.IOException,
java.lang.InterruptedException
calcRevisionsFromBuild in class hudson.scm.SCMjava.io.IOExceptionjava.lang.InterruptedExceptionpublic void buildEnvVars(hudson.model.AbstractBuild<?,?> build,
java.util.Map<java.lang.String,java.lang.String> env)
buildEnvVars in class hudson.scm.SCMprotected hudson.scm.PollingResult compareRemoteRevisionWith(hudson.model.AbstractProject<?,?> project,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener,
hudson.scm.SCMRevisionState baseline)
throws java.io.IOException,
java.lang.InterruptedException
compareRemoteRevisionWith in class hudson.scm.SCMjava.io.IOExceptionjava.lang.InterruptedExceptionpublic void checkout(hudson.model.Run<?,?> build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener,
java.io.File changelogFile,
hudson.scm.SCMRevisionState baseline)
throws java.io.IOException,
java.lang.InterruptedException
checkout in class hudson.scm.SCMjava.io.IOExceptionjava.lang.InterruptedExceptionpublic hudson.FilePath[] getModuleRoots(hudson.FilePath workspace,
hudson.model.AbstractBuild build)
getModuleRoots in class hudson.scm.SCMpublic boolean supportsPolling()
supportsPolling in class hudson.scm.SCMpublic boolean requiresWorkspaceForPolling()
requiresWorkspaceForPolling in class hudson.scm.SCMpublic hudson.scm.ChangeLogParser createChangeLogParser()
createChangeLogParser in class hudson.scm.SCMpublic void save()
throws java.io.IOException
save in interface hudson.model.Saveablejava.io.IOException