public class IspwConfiguration
extends hudson.scm.SCM
| Modifier and Type | Class and Description |
|---|---|
static class |
IspwConfiguration.DescriptorImpl
DescriptorImpl is used to create instances of
IspwConfiguration. |
| Constructor and Description |
|---|
IspwConfiguration(String hostPort,
String credentialsId,
String codePage,
String serverConfig,
String serverStream,
String serverApplication,
String serverLevel,
String levelOption,
String filterType,
String filterName) |
| Modifier and Type | Method and Description |
|---|---|
hudson.scm.SCMRevisionState |
calcRevisionsFromBuild(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Calculates any revisions from previous builds.
|
void |
checkout(hudson.model.Run<?,?> build,
hudson.Launcher launcher,
hudson.FilePath workspaceFilePath,
hudson.model.TaskListener listener,
File changelogFile,
hudson.scm.SCMRevisionState baseline)
Method that is first called when a build is run.
|
hudson.scm.ChangeLogParser |
createChangeLogParser() |
String |
getCodePage()
Gets the value of the 'Code Page'
|
String |
getCredentialsId()
Gets the value of the 'Login Credentials'
|
String |
getFilterName()
Gets the value of the 'Filter Name'
|
String |
getFilterType()
Gets the value of the 'Filter Type'
|
String |
getHost()
Gets the host name;
|
String |
getHostPort()
Gets the value of the 'Host'
|
String |
getLevelOption()
Gets the value of the 'Level Option'
|
protected com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials |
getLoginInformation(hudson.model.Item project)
Retrieves login information given a credential ID
|
String |
getPort()
Gets the port for the host connection.
|
String |
getServerApplication()
Gets the value of the 'Application'
|
String |
getServerConfig()
Gets the value of the 'Config'
|
String |
getServerLevel()
Gets the value of the 'Level'
|
String |
getServerStream()
Gets the value of the 'Stream'
|
String |
getTopazCLILocation(hudson.Launcher launcher)
Gets the value of the 'Topaz CLI Location' based on node
|
boolean |
supportsPolling()
Plugin does not support polling.
|
protected void |
validateHostPort(hudson.model.TaskListener listener)
Validate that there is a host and port defined.
|
void |
validateParameters(hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.model.Item project)
Validates the configuration parameters.
|
_calcRevisionsFromBuild, _for, _for, all, buildEnvVars, calcRevisionsFromBuild, checkout, compareRemoteRevisionWith, compareRemoteRevisionWith, createEmptyChangeLog, createEmptyChangeLog, getApi, getBrowser, getDescriptor, getEffectiveBrowser, getKey, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, guessBrowser, nullify, poll, pollChanges, postCheckout, postCheckout, processWorkspaceBeforeDeletion, processWorkspaceBeforeDeletion, requiresWorkspaceForPollingpublic void checkout(hudson.model.Run<?,?> build,
hudson.Launcher launcher,
hudson.FilePath workspaceFilePath,
hudson.model.TaskListener listener,
File changelogFile,
hudson.scm.SCMRevisionState baseline)
throws IOException,
InterruptedException
checkout in class hudson.scm.SCMlauncher - The machine that the files will be checked out.workspaceFilePath - a directory to check out the source code.listener - Build listenerchangelogFile - Upon a successful return, this file should capture the changelog. When there's no change, this file should
contain an empty entrybaseline - used for polling - this parameter is not usedIOExceptionInterruptedExceptionpublic hudson.scm.ChangeLogParser createChangeLogParser()
createChangeLogParser in class hudson.scm.SCMpublic String getHostPort()
String value of m_hostpublic String getCredentialsId()
String value of m_credentialsIdpublic String getCodePage()
String value of m_codePagepublic String getServerConfig()
String value of m_serverConfigpublic String getServerStream()
String value of m_serverStreampublic String getServerApplication()
String value of m_serverApplicationpublic String getServerLevel()
String value of m_serverLevelpublic String getLevelOption()
String value of m_levelOptionpublic String getFilterType()
String value of m_filterTypepublic String getFilterName()
String value of m_filterNamepublic String getHost()
String the host namepublic String getPort()
String the portprotected com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials getLoginInformation(hudson.model.Item project)
project - the Jenkins projectpublic String getTopazCLILocation(hudson.Launcher launcher)
launcher - the launcher associated with the current nodeString value of topazCLILocationpublic void validateParameters(hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.model.Item project)
launcher - The machine that the files will be checked out.listener - Build listenerproject - the Jenkins projectprotected void validateHostPort(hudson.model.TaskListener listener)
listener - Task listenerpublic boolean supportsPolling()
supportsPolling in class hudson.scm.SCMpublic hudson.scm.SCMRevisionState calcRevisionsFromBuild(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
throws IOException,
InterruptedException
calcRevisionsFromBuild in class hudson.scm.SCMIOExceptionInterruptedExceptionCopyright © 2016–2017. All rights reserved.