public class IspwConfiguration extends AbstractIspwConfiguration
Modifier and Type | Class and Description |
---|---|
static class |
IspwConfiguration.DescriptorImpl
DescriptorImpl is used to create instances of
IspwConfiguration . |
AbstractConfiguration.AbstractConfigurationImpl<T extends hudson.scm.SCM>
m_codePage, m_connectionId, m_hostPort, m_isMigrated
Constructor and Description |
---|
IspwConfiguration(String connectionId,
String credentialsId,
String serverConfig,
String serverStream,
String serverApplication,
String serverSubAppl,
String serverLevel,
String levelOption,
String componentType,
String folderName,
boolean ispwDownloadAll,
String targetFolder,
boolean ispwDownloadIncl,
boolean ispwDownloadWithCompileOnly)
Gets the data from the configuration page.
|
Modifier and Type | Method and Description |
---|---|
String |
getComponentType()
Gets the value of the 'Component type'
|
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'
|
boolean |
getIspwDownloadAll()
This field indicates whether to clear unmatched items from the workspace as well as whether to only download items when
the update date has changed.
|
boolean |
getIspwDownloadIncl()
This field determines whether or not to download the INCL impacts
|
boolean |
getIspwDownloadWithCompileOnly()
This field determine whether to download compile only in case of repository download
|
String |
getLevelOption()
Gets the value of the 'Level Option'
|
String |
getServerApplication()
Gets the value of the 'Application'
|
String |
getServerLevel()
Gets the value of the 'Level'
|
String |
getServerStream()
Gets the value of the 'Stream'
|
String |
getServerSubAppl()
Gets the value of the 'SubAppl'
|
String |
getTargetFolder()
Gets the value of the targetFolder
|
void |
validateFilterParameters(hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.model.Item project)
Validates the filter configuration parameters.
|
void |
validateParameters(hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.model.Item project)
Validates the configuration parameters.
|
static void |
xStreamCompatibility() |
calcRevisionsFromBuild, checkout, createChangeLogParser, getConnectionId, getCredentialsId, getServerConfig, getTrimmedValue, supportsPolling, validateCliLocation, validateServerParameters
isMigrated, jobLoaded, readResolve
_calcRevisionsFromBuild, _for, _for, all, buildEnvironment, 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, requiresWorkspaceForPolling
@DataBoundConstructor public IspwConfiguration(String connectionId, String credentialsId, String serverConfig, String serverStream, String serverApplication, String serverSubAppl, String serverLevel, String levelOption, String componentType, String folderName, boolean ispwDownloadAll, String targetFolder, boolean ispwDownloadIncl, boolean ispwDownloadWithCompileOnly)
config.jelly
.connectionId
- - a unique host connection identifiercredentialsId
- - unique id of the selected credentialserverConfig
- - runtime configurationserverStream
- - selected ispw streamserverApplication
- - selected ispw applicationserverSubAppl
- - selected ispw subApplserverLevel
- - selected ispw levellevelOption
- - 0 (all in selected level only) or 1 (all in selected level and above)componentType
- - The component type to filter forfolderName
- - comma-delimited folder names to filter onispwDownloadAll
- - whether to keep files in sync within the specified target FoldertargetFolder
- - source download locationispwDownloadIncl
- - whether to download the INCL impactspublic String getServerStream()
String
value of m_serverStreampublic String getServerApplication()
String
value of m_serverApplicationpublic String getServerSubAppl()
String
value of m_serverSubApplpublic 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_filterFolderspublic boolean getIspwDownloadAll()
public String getTargetFolder()
public boolean getIspwDownloadIncl()
public boolean getIspwDownloadWithCompileOnly()
public void validateParameters(hudson.Launcher launcher, hudson.model.TaskListener listener, hudson.model.Item project) throws hudson.AbortException
validateParameters
in class AbstractIspwConfiguration
launcher
- The machine that the files will be checked out.listener
- Build listenerproject
- the Jenkins projecthudson.AbortException
- if an error occurs validating the parameterspublic void validateFilterParameters(hudson.Launcher launcher, hudson.model.TaskListener listener, hudson.model.Item project)
AbstractIspwConfiguration
validateFilterParameters
in class AbstractIspwConfiguration
launcher
- The machine that the files will be checked out.listener
- Build listenerproject
- the Jenkins project@Initializer(before=PLUGINS_STARTED) public static void xStreamCompatibility()
Copyright © 2016–2023. All rights reserved.