hudson.scm
Class SurroundSCM
java.lang.Object
hudson.scm.SCM
hudson.scm.SurroundSCM
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.SCM>
@Extension
public final class SurroundSCM
- extends hudson.scm.SCM
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.scm.SCM |
PERMISSIONS, TAG |
|
Method Summary |
hudson.scm.SCMRevisionState |
calcRevisionsFromBuild(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
|
boolean |
checkout(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener,
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()
|
String |
getBranch()
|
hudson.scm.SCMDescriptor<?> |
getDescriptor()
|
String |
getPassword()
|
String |
getRepository()
|
String |
getRsaKeyPath()
|
String |
getServer()
|
String |
getServerPort()
|
String |
getSurroundSCMExecutable()
|
String |
getUserName()
|
void |
setBranch(String branch)
|
void |
setPassword(String password)
|
void |
setRepository(String repository)
|
void |
setRsaKeyPath(String rsaKeyPath)
|
void |
setServer(String server)
|
void |
setServerPort(String serverPort)
|
void |
setSurroundSCMExecutable(String surroundSCMExecutable)
|
void |
setUserName(String userName)
|
| Methods inherited from class hudson.scm.SCM |
_calcRevisionsFromBuild, _for, all, buildEnvVars, createEmptyChangeLog, getApi, getBrowser, getEffectiveBrowser, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, nullify, poll, pollChanges, processWorkspaceBeforeDeletion, requiresWorkspaceForPolling, supportsPolling |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DESCRIPTOR
@Extension
public static final SurroundSCM.SurroundSCMDescriptor DESCRIPTOR
- Singleton descriptor.
SURROUND_DATETIME_FORMAT_STR
public static final String SURROUND_DATETIME_FORMAT_STR
- See Also:
- Constant Field Values
SURROUND_DATETIME_FORMAT_STR_2
public static final String SURROUND_DATETIME_FORMAT_STR_2
- See Also:
- Constant Field Values
SurroundSCM
@DataBoundConstructor
public SurroundSCM(String rsaKeyPath,
String server,
String serverPort,
String userName,
String password,
String branch,
String repository,
String surroundSCMExecutable)
SurroundSCM
public SurroundSCM()
getRsaKeyPath
public String getRsaKeyPath()
setRsaKeyPath
public void setRsaKeyPath(String rsaKeyPath)
getServer
public String getServer()
setServer
public void setServer(String server)
getServerPort
public String getServerPort()
setServerPort
public void setServerPort(String serverPort)
getUserName
public String getUserName()
setUserName
public void setUserName(String userName)
getPassword
public String getPassword()
setPassword
public void setPassword(String password)
getBranch
public String getBranch()
setBranch
public void setBranch(String branch)
getRepository
public String getRepository()
setRepository
public void setRepository(String repository)
getSurroundSCMExecutable
public String getSurroundSCMExecutable()
setSurroundSCMExecutable
public void setSurroundSCMExecutable(String surroundSCMExecutable)
getDescriptor
public hudson.scm.SCMDescriptor<?> getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<hudson.scm.SCM>- Overrides:
getDescriptor in class hudson.scm.SCM
calcRevisionsFromBuild
public hudson.scm.SCMRevisionState calcRevisionsFromBuild(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
throws IOException,
InterruptedException
- Specified by:
calcRevisionsFromBuild in class hudson.scm.SCM
- Throws:
IOException
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 IOException,
InterruptedException
- Specified by:
compareRemoteRevisionWith in class hudson.scm.SCM
- Throws:
IOException
InterruptedException
checkout
public boolean checkout(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener,
File changelogFile)
throws IOException,
InterruptedException
- Specified by:
checkout in class hudson.scm.SCM
- Throws:
IOException
InterruptedException
createChangeLogParser
public hudson.scm.ChangeLogParser createChangeLogParser()
- Specified by:
createChangeLogParser in class hudson.scm.SCM
Copyright © 2004-2015 Hudson. All Rights Reserved.