public class IspwConfiguration extends AbstractConfiguration
| Modifier and Type | Class and Description |
|---|---|
static class |
IspwConfiguration.DescriptorImpl
DescriptorImpl is used to create instances of
IspwConfiguration. |
m_codePage, m_connectionId, m_hostPort, m_isMigrated| Constructor and Description |
|---|
IspwConfiguration(String connectionId,
String credentialsId,
String serverConfig,
String serverStream,
String serverApplication,
String serverLevel,
String levelOption,
String componentType,
String folderName) |
| 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 |
getComponentType()
Gets the value of the 'Component type'
|
String |
getConnectionId()
Gets the unique identifier of the 'Host connection'.
|
String |
getCredentialsId()
Gets the value of the 'Login Credentials'
|
String |
getFilterFiles()
Gets the value of the 'Components' checkbox
|
String |
getFilterFolders()
Gets the value of the 'Folders' checkbox
|
String |
getFolderName()
Gets the value of the 'Folder Name'
|
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 |
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'
|
boolean |
supportsPolling()
Plugin does not support polling.
|
void |
validateParameters(hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.model.Item project)
Validates the configuration parameters.
|
isMigrated, jobLoaded, readResolve_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 getConnectionId()
String value of m_connectionIdpublic String getCredentialsId()
String value of m_credentialsIdpublic 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 getComponentType()
String value of m_componentTypepublic String getFolderName()
String value of m_folderNamepublic String getFilterFiles()
String value of m_filterFilespublic String getFilterFolders()
String value of m_filterFoldersprotected com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials getLoginInformation(hudson.model.Item project)
project - the Jenkins projectpublic 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 projectpublic 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.