public class IspwContainerConfiguration extends AbstractIspwConfiguration
Modifier and Type | Class and Description |
---|---|
static class |
IspwContainerConfiguration.DescriptorImpl
DescriptorImpl is used to create instances of
IspwContainerConfiguration . |
AbstractConfiguration.AbstractConfigurationImpl<T extends hudson.scm.SCM>
m_codePage, m_connectionId, m_hostPort, m_isMigrated
Constructor and Description |
---|
IspwContainerConfiguration(String connectionId,
String credentialsId,
String serverConfig,
String containerName,
String containerType,
String serverLevel,
String componentType,
boolean ispwDownloadAll,
String targetFolder,
boolean ispwDownloadIncl)
Gets the data from the configuration page.
|
Modifier and Type | Method and Description |
---|---|
String |
getComponentType()
Gets the value of the 'Component type'
|
String |
getContainerName()
Gets the value of the 'Container name'
|
String |
getContainerType()
Gets the value of the 'Container type'
|
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
|
String |
getServerLevel()
Gets the value of the 'Level'
|
String |
getTargetFolder()
Gets the value of the targetFolder
|
void |
validateFilterParameters(hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.model.Item project)
Validates the configuration filter 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 IspwContainerConfiguration(String connectionId, String credentialsId, String serverConfig, String containerName, String containerType, String serverLevel, String componentType, boolean ispwDownloadAll, String targetFolder, boolean ispwDownloadIncl)
config.jelly
.connectionId
- - a unique host connection identifiercredentialsId
- - unique id of the selected credentialserverConfig
- - runtime configurationcontainerName
- - selected ispw container namecontainerType
- - selected ispw container type (assignment, release...)serverLevel
- - selected ispw levelcomponentType
- - The component type to filter forispwDownloadAll
- - whether to keep files in sync within the specified target FoldertargetFolder
- - source download locationispwDownloadIncl
- - whether to download the INCL impactspublic String getContainerName()
String
value of containerNamepublic String getContainerType()
String
value of containerTypepublic String getServerLevel()
String
value of serverLevelpublic String getComponentType()
String
value of componentTypepublic boolean getIspwDownloadAll()
public String getTargetFolder()
public boolean getIspwDownloadIncl()
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)
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.