public class SCLMSCM
extends hudson.scm.SCM
| Modifier and Type | Class and Description |
|---|---|
static class |
SCLMSCM.SCLMSCMDescriptor
SCLMSCMDescriptor
Descriptor for SCLMSCM.
|
| Constructor and Description |
|---|
SCLMSCM()
Dummy constructor
|
SCLMSCM(String server,
int port,
String userID,
String password,
String project,
String alternate,
String group,
String types,
boolean custJobStep,
String JobStep,
boolean custJobHeader,
String JobHeader)
Constructor that is invoked from project configuration page.
|
| Modifier and Type | Method and Description |
|---|---|
hudson.scm.SCMRevisionState |
calcRevisionsFromBuild(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Calculate revision from build.
|
void |
checkout(hudson.model.Run<?,?> build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener,
File changelogFile,
hudson.scm.SCMRevisionState baseline)
Checkout remote changes to the workspace.
|
hudson.scm.PollingResult |
compareRemoteRevisionWith(hudson.model.Job<?,?> project,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener,
hudson.scm.SCMRevisionState _baseline)
Compare remote revision with old one.
|
hudson.scm.ChangeLogParser |
createChangeLogParser()
Get parser for changelog.xml
.
|
String |
getAlternate()
Get SCM Alternate Project Definition.
|
boolean |
getCustJobHeader()
Get custJobHeader.
|
boolean |
getCustJobStep()
Get custJobStep.
|
SCLMSCM.SCLMSCMDescriptor |
getDescriptor()
Get descriptor.
|
String |
getGroup()
Get SCLM Group.
|
String |
getJobHeader()
Get Job header.
|
String |
getJobStep()
Get Job step.
|
String |
getPassword()
Get User password.
|
int |
getPort()
Get FTP port to connect to.
|
String |
getProject()
Get SCLM Project Name.
|
String |
getServer()
Get LPAR name or IP address.
|
String |
getTypes()
Get SCLM file types under interest.
|
String |
getUserID()
Get User ID.
|
boolean |
requiresWorkspaceForPolling()
Whether SCM requires workspace for polling process.
|
boolean |
supportsPolling()
Whether SCM supports polling.
|
_calcRevisionsFromBuild, _for, _for, all, buildEnvVars, calcRevisionsFromBuild, checkout, compareRemoteRevisionWith, createEmptyChangeLog, createEmptyChangeLog, getApi, getBrowser, getEffectiveBrowser, getKey, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, guessBrowser, nullify, poll, pollChanges, postCheckout, postCheckout, processWorkspaceBeforeDeletion, processWorkspaceBeforeDeletion@DataBoundConstructor public SCLMSCM(String server, int port, String userID, String password, String project, String alternate, String group, String types, boolean custJobStep, String JobStep, boolean custJobHeader, String JobHeader)
server - LPAR name of IP address.port - FTP port to connect to.userID - User ID.password - User password.project - SCLM Project Name.alternate - SCLM Alternate Project Definition.group - SCLM Group.types - Types under interest (separated by comma).custJobStep - Whether user defines own FLMCMD job step.JobStep - User-supplies FLMCMD job step.custJobHeader - Whether user supplied own job header.JobHeader - User-supplied job header.public SCLMSCM()
public boolean getCustJobHeader()
custJobHeaderpublic boolean getCustJobStep()
custJobSteppublic String getServer()
serverpublic int getPort()
portpublic String getUserID()
userIDpublic String getPassword()
passwordpublic String getProject()
projectpublic String getAlternate()
alternatepublic String getGroup()
grouppublic String getJobHeader()
JobHeaderpublic String getJobStep()
JobSteppublic String getTypes()
typespublic boolean supportsPolling()
supportsPolling in class hudson.scm.SCMtruepublic boolean requiresWorkspaceForPolling()
requiresWorkspaceForPolling in class hudson.scm.SCMfalsepublic hudson.scm.PollingResult compareRemoteRevisionWith(@Nonnull hudson.model.Job<?,?> project, hudson.Launcher launcher, hudson.FilePath workspace, @Nonnull hudson.model.TaskListener listener, @Nonnull hudson.scm.SCMRevisionState _baseline) throws IOException, InterruptedException
compareRemoteRevisionWith in class hudson.scm.SCMproject - Current project.launcher - Current launcher.workspace - Current workspace.listener - Current listener._baseline - Old revision.IOExceptionInterruptedExceptionPollingResult,
SCLMSCMRevisionState,
getNewRevision(SCLMSCMRevisionState)public void checkout(@Nonnull hudson.model.Run<?,?> build, @Nonnull hudson.Launcher launcher, @Nonnull hudson.FilePath workspace, @Nonnull hudson.model.TaskListener listener, File changelogFile, hudson.scm.SCMRevisionState baseline) throws IOException, InterruptedException
checkout in class hudson.scm.SCMbuild - Current build.launcher - Current launcher.workspace - Current workspace.listener - Current listener.changelogFile - Current changeLogFile.baseline - Last revision.IOExceptionInterruptedExceptionSCLMSCMRevisionState,
getNewRevision(SCLMSCMRevisionState)public hudson.scm.SCMRevisionState calcRevisionsFromBuild(@Nonnull hudson.model.Run<?,?> build, hudson.FilePath workspace, hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws IOException, InterruptedException
calcRevisionsFromBuild in class hudson.scm.SCMbuild - Current build.workspace - Current workspace.launcher - Current launcher.listener - Current listener.IOExceptionInterruptedExceptionSCLMSCMRevisionStatepublic hudson.scm.ChangeLogParser createChangeLogParser()
createChangeLogParser in class hudson.scm.SCMpublic SCLMSCM.SCLMSCMDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.scm.SCM>getDescriptor in class hudson.scm.SCMCopyright © 2004-2015. All Rights Reserved.