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 |
hudson.scm.SCMRevisionState |
calcRevisionsFromBuild(hudson.model.AbstractBuild<?,?> paramAbstractBuild,
hudson.Launcher paramLauncher,
hudson.model.TaskListener paramTaskListener)
|
boolean |
checkout(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener,
java.io.File changelogFile)
|
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()
|
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)
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, all, buildEnvVars, createEmptyChangeLog, getApi, getDescriptor, getEffectiveBrowser, getModuleRoot, getModuleRoots, getType, nullify, poll |
| 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
@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
calcRevisionsFromBuild
public hudson.scm.SCMRevisionState calcRevisionsFromBuild(hudson.model.AbstractBuild<?,?> paramAbstractBuild,
hudson.Launcher paramLauncher,
hudson.model.TaskListener paramTaskListener)
throws java.io.IOException,
java.lang.InterruptedException
- Specified by:
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
- Specified by:
compareRemoteRevisionWith in class hudson.scm.SCM
- Throws:
java.io.IOException
java.lang.InterruptedException
Copyright © 2004-2013. All Rights Reserved.