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 credentialsId,
boolean JESINTERFACELEVEL1,
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.
|
String |
getCredentialsId() |
boolean |
getCustJobHeader()
Get custJobHeader.
|
boolean |
getCustJobStep()
Get custJobStep.
|
SCLMSCM.SCLMSCMDescriptor |
getDescriptor()
Get descriptor.
|
String |
getGroup()
Get SCLM Group.
|
boolean |
getJESINTERFACELEVEL1()
Get JESINTERFACELEVEL1.
|
String |
getJobHeader()
Get Job header.
|
String |
getJobStep()
Get Job step.
|
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.
|
boolean |
requiresWorkspaceForPolling()
Whether SCM requires workspace for polling process.
|
boolean |
supportsPolling()
Whether SCM supports polling.
|
_calcRevisionsFromBuild, _for, _for, all, buildEnvironment, 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 credentialsId, boolean JESINTERFACELEVEL1, 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.credentialsId - Credentials id..JESINTERFACELEVEL1 - JESINTERFACELEVEL=1?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 getCredentialsId()
public boolean getJESINTERFACELEVEL1()
JESINTERFACELEVEL1public 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)
compareRemoteRevisionWith in class hudson.scm.SCMproject - Current project.launcher - Current launcher.workspace - Current workspace.listener - Current listener._baseline - Old revision.PollingResult,
SCLMSCMRevisionState,
getNewRevision(SCLMSCMRevisionState, String, String)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
checkout in class hudson.scm.SCMbuild - Current build.launcher - Current launcher.workspace - Current workspace.listener - Current listener.changelogFile - Current changeLogFile.baseline - Last revision.IOExceptionSCLMSCMRevisionState,
getNewRevision(SCLMSCMRevisionState, String, String)public hudson.scm.SCMRevisionState calcRevisionsFromBuild(@Nonnull hudson.model.Run<?,?> build, hudson.FilePath workspace, hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener)
calcRevisionsFromBuild in class hudson.scm.SCMbuild - Current build.workspace - Current workspace.launcher - Current launcher.listener - Current listener.SCLMSCMRevisionStatepublic 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 © 2016–2018. All rights reserved.