public class ProxySCM
extends hudson.scm.SCM
Modifier and Type | Class and Description |
---|---|
static class |
ProxySCM.DescriptorImpl |
Constructor and Description |
---|
ProxySCM(java.lang.String projectName) |
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<?,?> paramAbstractBuild,
hudson.Launcher paramLauncher,
hudson.model.TaskListener paramTaskListener) |
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() |
hudson.scm.RepositoryBrowser |
getBrowser() |
java.lang.String |
getExpandedProjectName(hudson.model.AbstractBuild<?,?> build) |
hudson.FilePath |
getModuleRoot(hudson.FilePath workspace) |
hudson.FilePath[] |
getModuleRoots(hudson.FilePath workspace) |
hudson.model.AbstractProject<?,?> |
getProject() |
java.lang.String |
getProjectName() |
hudson.scm.SCM |
getProjectScm() |
hudson.scm.SCM |
getProjectScm(hudson.model.AbstractBuild<?,?> build) |
boolean |
pollChanges(hudson.model.AbstractProject project,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener)
Deprecated.
|
boolean |
processWorkspaceBeforeDeletion(hudson.model.AbstractProject<?,?> project,
hudson.FilePath workspace,
hudson.model.Node node) |
boolean |
requiresWorkspaceForPolling() |
boolean |
supportsPolling() |
_calcRevisionsFromBuild, _for, _for, all, calcRevisionsFromBuild, checkout, compareRemoteRevisionWith, createEmptyChangeLog, createEmptyChangeLog, getApi, getDescriptor, getEffectiveBrowser, getKey, getModuleRoot, getModuleRoots, getType, guessBrowser, nullify, poll, postCheckout, postCheckout, processWorkspaceBeforeDeletion
public java.lang.String getProjectName()
public java.lang.String getExpandedProjectName(hudson.model.AbstractBuild<?,?> build)
public hudson.model.AbstractProject<?,?> getProject()
public hudson.scm.SCM getProjectScm(hudson.model.AbstractBuild<?,?> build)
public hudson.scm.SCM getProjectScm()
public void checkout(@Nonnull hudson.model.Run<?,?> build, @Nonnull hudson.Launcher launcher, @Nonnull hudson.FilePath workspace, @Nonnull hudson.model.TaskListener listener, @CheckForNull java.io.File changelogFile, @CheckForNull hudson.scm.SCMRevisionState baseline) throws java.io.IOException, java.lang.InterruptedException
checkout
in class hudson.scm.SCM
java.io.IOException
java.lang.InterruptedException
public hudson.scm.ChangeLogParser createChangeLogParser()
createChangeLogParser
in class hudson.scm.SCM
@Deprecated public boolean pollChanges(hudson.model.AbstractProject project, hudson.Launcher launcher, hudson.FilePath workspace, hudson.model.TaskListener listener) throws java.io.IOException, java.lang.InterruptedException
pollChanges
in class hudson.scm.SCM
java.io.IOException
java.lang.InterruptedException
public hudson.scm.RepositoryBrowser getBrowser()
getBrowser
in class hudson.scm.SCM
public hudson.FilePath getModuleRoot(hudson.FilePath workspace)
getModuleRoot
in class hudson.scm.SCM
public hudson.FilePath[] getModuleRoots(hudson.FilePath workspace)
getModuleRoots
in class hudson.scm.SCM
public boolean processWorkspaceBeforeDeletion(hudson.model.AbstractProject<?,?> project, hudson.FilePath workspace, hudson.model.Node node) throws java.io.IOException, java.lang.InterruptedException
processWorkspaceBeforeDeletion
in class hudson.scm.SCM
java.io.IOException
java.lang.InterruptedException
public boolean requiresWorkspaceForPolling()
requiresWorkspaceForPolling
in class hudson.scm.SCM
public boolean supportsPolling()
supportsPolling
in class hudson.scm.SCM
public void buildEnvVars(hudson.model.AbstractBuild<?,?> build, java.util.Map<java.lang.String,java.lang.String> env)
buildEnvVars
in class hudson.scm.SCM
public hudson.scm.SCMRevisionState calcRevisionsFromBuild(hudson.model.AbstractBuild<?,?> paramAbstractBuild, hudson.Launcher paramLauncher, hudson.model.TaskListener paramTaskListener) throws java.io.IOException, java.lang.InterruptedException
calcRevisionsFromBuild
in class hudson.scm.SCM
java.io.IOException
java.lang.InterruptedException
protected 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.SCM
java.io.IOException
java.lang.InterruptedException
Copyright © 2004-2016. All Rights Reserved.