Class SCLMSCM.SCLMSCMDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<SCM>
-
- hudson.scm.SCMDescriptor<SCLMSCM>
-
- org.jenkinsci.plugins.IBM_zOS_Connector.SCLMSCM.SCLMSCMDescriptor
-
- Enclosing class:
- SCLMSCM
@Extension public static final class SCLMSCM.SCLMSCMDescriptor extends SCMDescriptor<SCLMSCM>
SCLMSCMDescriptor
Descriptor for SCLMSCM.- Version:
- 1.0
- Author:
- Alexander Shcherbakov (candiduslynx@gmail.com)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
-
Fields inherited from class hudson.scm.SCMDescriptor
repositoryBrowser
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description SCLMSCMDescriptor()
Dummy constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
Configure action that is invoked from global settings.FormValidation
doCheckCredentialsId(Item item, String value)
ListBoxModel
doFillCredentialsIdItems(Item item, String credentialsId)
Fill in credentials IDs.String
getDisplayName()
Get printable name.String
getSCLMJobHeader()
Get globally configured job header.String
getSCLMJobStep()
Get globally configured FLMCMD job step.-
Methods inherited from class hudson.scm.SCMDescriptor
getBrowserDescriptors, getGeneration, incrementGeneration, isApplicable, isApplicable, isBrowserReusable, load
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getSCLMJobHeader
public String getSCLMJobHeader()
Get globally configured job header.- Returns:
SCLMJobHeader
.
-
getSCLMJobStep
public String getSCLMJobStep()
Get globally configured FLMCMD job step.- Returns:
SCLMJobStep
.
-
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item item, @QueryParameter String credentialsId)
Fill in credentials IDs.- Parameters:
item
- parentcredentialsId
- credentials ID- Returns:
- filled in credentials IDs
-
doCheckCredentialsId
public FormValidation doCheckCredentialsId(@AncestorInPath Item item, @QueryParameter String value)
- Parameters:
item
- configuration entity to use permissions from.value
- Current credentials (or expression/env variable).- Returns:
- Whether creds are OK. Currently just check that it's set.
-
getDisplayName
public String getDisplayName()
Get printable name.- Overrides:
getDisplayName
in classDescriptor<SCM>
- Returns:
- "SCLM".
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
Configure action that is invoked from global settings.- Overrides:
configure
in classDescriptor<SCM>
- Parameters:
req
- Request.json
- Parameters.- Returns:
- Whether everything was setup OK.
-
-