hudson.plugins.templateproject
Class ProxySCM

java.lang.Object
  extended by hudson.scm.SCM
      extended by hudson.plugins.templateproject.ProxySCM
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.SCM>

public class ProxySCM
extends hudson.scm.SCM


Nested Class Summary
static class ProxySCM.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.scm.SCM
PERMISSIONS, TAG
 
Constructor Summary
ProxySCM(java.lang.String projectName)
           
 
Method Summary
 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()
           
 
Methods inherited from class hudson.scm.SCM
_calcRevisionsFromBuild, _for, _for, all, calcRevisionsFromBuild, checkout, compareRemoteRevisionWith, createEmptyChangeLog, createEmptyChangeLog, getApi, getDescriptor, getEffectiveBrowser, getKey, getModuleRoot, getModuleRoots, getType, guessBrowser, nullify, poll, postCheckout, postCheckout, processWorkspaceBeforeDeletion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxySCM

@DataBoundConstructor
public ProxySCM(java.lang.String projectName)
Method Detail

getProjectName

public java.lang.String getProjectName()

getExpandedProjectName

public java.lang.String getExpandedProjectName(hudson.model.AbstractBuild<?,?> build)

getProject

public hudson.model.AbstractProject<?,?> getProject()

getProjectScm

public hudson.scm.SCM getProjectScm(hudson.model.AbstractBuild<?,?> build)

getProjectScm

public hudson.scm.SCM getProjectScm()

checkout

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
Overrides:
checkout in class hudson.scm.SCM
Throws:
java.io.IOException
java.lang.InterruptedException

createChangeLogParser

public hudson.scm.ChangeLogParser createChangeLogParser()
Specified by:
createChangeLogParser in class hudson.scm.SCM

pollChanges

@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
Deprecated. 

Overrides:
pollChanges in class hudson.scm.SCM
Throws:
java.io.IOException
java.lang.InterruptedException

getBrowser

public hudson.scm.RepositoryBrowser getBrowser()
Overrides:
getBrowser in class hudson.scm.SCM

getModuleRoot

public hudson.FilePath getModuleRoot(hudson.FilePath workspace)
Overrides:
getModuleRoot in class hudson.scm.SCM

getModuleRoots

public hudson.FilePath[] getModuleRoots(hudson.FilePath workspace)
Overrides:
getModuleRoots in class hudson.scm.SCM

processWorkspaceBeforeDeletion

public boolean processWorkspaceBeforeDeletion(hudson.model.AbstractProject<?,?> project,
                                              hudson.FilePath workspace,
                                              hudson.model.Node node)
                                       throws java.io.IOException,
                                              java.lang.InterruptedException
Overrides:
processWorkspaceBeforeDeletion in class hudson.scm.SCM
Throws:
java.io.IOException
java.lang.InterruptedException

requiresWorkspaceForPolling

public boolean requiresWorkspaceForPolling()
Overrides:
requiresWorkspaceForPolling in class hudson.scm.SCM

supportsPolling

public boolean supportsPolling()
Overrides:
supportsPolling in class hudson.scm.SCM

buildEnvVars

public void buildEnvVars(hudson.model.AbstractBuild<?,?> build,
                         java.util.Map<java.lang.String,java.lang.String> env)
Overrides:
buildEnvVars in class hudson.scm.SCM

calcRevisionsFromBuild

public hudson.scm.SCMRevisionState calcRevisionsFromBuild(hudson.model.AbstractBuild<?,?> paramAbstractBuild,
                                                          hudson.Launcher paramLauncher,
                                                          hudson.model.TaskListener paramTaskListener)
                                                   throws java.io.IOException,
                                                          java.lang.InterruptedException
Overrides:
calcRevisionsFromBuild in class hudson.scm.SCM
Throws:
java.io.IOException
java.lang.InterruptedException

compareRemoteRevisionWith

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
Overrides:
compareRemoteRevisionWith in class hudson.scm.SCM
Throws:
java.io.IOException
java.lang.InterruptedException


Copyright © 2004-2015. All Rights Reserved.