public abstract class CpwrScmConfiguration
extends hudson.scm.SCM
| Modifier | Constructor and Description |
|---|---|
protected |
CpwrScmConfiguration(String hostPort,
String filterPattern,
String fileExtension,
String credentialsId,
String codePage)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
hudson.scm.ChangeLogParser |
createChangeLogParser() |
String |
getCodePage()
Gets the value of the 'Code Page'.
|
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 |
getHost()
Gets the host.
|
String |
getHostPort()
Gets the value of the 'Host:Port'.
|
protected com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials |
getLoginInformation(hudson.model.Item project)
Retrieves login information given a credential ID.
|
String |
getPort()
Gets the port.
|
String |
getTopazCLILocation(hudson.Launcher launcher)
Gets the value of the 'Topaz CLI Location' based on node.
|
protected void |
validateHostPort(PrintStream logger)
Validate that there is a host and port defined.
|
protected void |
validateParameters(hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.model.Item project)
Validates the configuration parameters.
|
_calcRevisionsFromBuild, _for, _for, all, 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, supportsPollingpublic hudson.scm.ChangeLogParser createChangeLogParser()
createChangeLogParser in class hudson.scm.SCMpublic String getHostPort()
String value of m_hostportpublic String getFilterPattern()
String value of m_filterPatternpublic String getFileExtension()
String value of m_fileExtensionpublic String getCredentialsId()
String value of m_credentialsIdpublic String getCodePage()
String value of m_codePagepublic String getTopazCLILocation(hudson.Launcher launcher)
launcher - the launcher associated with the current nodeString value of topazCLILocationpublic String getHost()
String hostpublic String getPort()
String portprotected com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials getLoginInformation(hudson.model.Item project)
project - the Jenkins projectprotected void validateParameters(hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.model.Item project)
launcher - the machine that the files will be checked outlistener - build listenerproject - the Jenkins projectprotected void validateHostPort(PrintStream logger)
logger - the logger to write messages toCopyright © 2016–2017. All rights reserved.