public abstract class CpwrScmConfiguration extends AbstractConfiguration
AbstractConfiguration.AbstractConfigurationImpl<T extends hudson.scm.SCM>
m_codePage, m_connectionId, m_hostPort, m_isMigrated
Modifier | Constructor and Description |
---|---|
protected |
CpwrScmConfiguration(String connectionId,
String filterPattern,
String fileExtension,
String credentialsId,
String targetFolder)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
hudson.scm.ChangeLogParser |
createChangeLogParser() |
String |
getConnectionId()
Gets the unique identifier of the 'Host connection'.
|
String |
getCredentialsId()
Gets the value of the 'Login Credentials'.
|
String |
getFileExtension()
Gets the value of the 'Filter Extension'.
|
String |
getFilterPattern()
Gets the value of the 'Filter pattern'.
|
String |
getTargetFolder()
Gets the value of the 'Source download location'
|
protected void |
validateParameters(hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.model.Item project)
Validates the configuration parameters.
|
protected void |
validateTargetFolder(PrintStream logger)
Validates that the source download location is a valid path name.
|
isMigrated, jobLoaded, readResolve
_calcRevisionsFromBuild, _for, _for, all, buildEnvironment, buildEnvVars, calcRevisionsFromBuild, calcRevisionsFromBuild, checkout, checkout, compareRemoteRevisionWith, compareRemoteRevisionWith, createEmptyChangeLog, createEmptyChangeLog, getApi, getBrowser, getDescriptor, getEffectiveBrowser, getKey, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, guessBrowser, nullify, poll, pollChanges, postCheckout, postCheckout, processWorkspaceBeforeDeletion, processWorkspaceBeforeDeletion, requiresWorkspaceForPolling, supportsPolling
protected CpwrScmConfiguration(String connectionId, String filterPattern, String fileExtension, String credentialsId, String targetFolder)
connectionId
- a unique host connection identifierfilterPattern
- filter for the datasets to be retrieved from the mainframefileExtension
- file extension for the incoming datasetscredentialsId
- unique id of the selected credentialtargetFolder
- source download locationpublic hudson.scm.ChangeLogParser createChangeLogParser()
createChangeLogParser
in class hudson.scm.SCM
public String getConnectionId()
String
value of m_connectionIdpublic String getFilterPattern()
String
value of m_filterPatternpublic String getFileExtension()
String
value of m_fileExtensionpublic String getCredentialsId()
String
value of m_credentialsIdpublic String getTargetFolder()
String
value of m_targetFolderprotected void validateParameters(hudson.Launcher launcher, hudson.model.TaskListener listener, hudson.model.Item project) throws hudson.AbortException
launcher
- the machine that the files will be checked outlistener
- build listenerproject
- the Jenkins projecthudson.AbortException
- if an error occurs getting the credentials userprotected void validateTargetFolder(PrintStream logger)
logger
- used to log any messagesCopyright © 2016–2023. All rights reserved.