hudson.plugins.templateproject
Class ProxySCM
java.lang.Object
hudson.scm.SCM
hudson.plugins.templateproject.ProxySCM
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.SCM>
public class ProxySCM
- extends hudson.scm.SCM
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| 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)
|
boolean |
checkout(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener,
java.io.File changelogFile)
|
hudson.scm.ChangeLogParser |
createChangeLogParser()
|
hudson.scm.RepositoryBrowser |
getBrowser()
|
hudson.FilePath |
getModuleRoot(hudson.FilePath workspace)
|
hudson.FilePath[] |
getModuleRoots(hudson.FilePath workspace)
|
hudson.model.AbstractProject<?,?> |
getProject()
|
java.lang.String |
getProjectName()
|
boolean |
pollChanges(hudson.model.AbstractProject project,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener)
|
boolean |
processWorkspaceBeforeDeletion(hudson.model.AbstractProject<?,?> project,
hudson.FilePath workspace,
hudson.model.Node node)
|
boolean |
requiresWorkspaceForPolling()
|
boolean |
supportsPolling()
|
| Methods inherited from class hudson.scm.SCM |
_for, all, createEmptyChangeLog, getDescriptor, getEffectiveBrowser, nullify |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxySCM
@DataBoundConstructor
public ProxySCM(java.lang.String projectName)
getProjectName
public java.lang.String getProjectName()
getProject
public hudson.model.AbstractProject<?,?> getProject()
checkout
public boolean checkout(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener,
java.io.File changelogFile)
throws java.io.IOException,
java.lang.InterruptedException
- Specified by:
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
public boolean pollChanges(hudson.model.AbstractProject project,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener)
throws java.io.IOException,
java.lang.InterruptedException
- Specified by:
pollChanges in class hudson.scm.SCM
- Throws:
java.io.IOException
java.lang.InterruptedException
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
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
Copyright © 2010. All Rights Reserved.