Class SCLMSCM.SCLMSCMDescriptor
java.lang.Object
hudson.model.Descriptor<hudson.scm.SCM>
hudson.scm.SCMDescriptor<SCLMSCM>
org.jenkinsci.plugins.IBM_zOS_Connector.SCLMSCM.SCLMSCMDescriptor
- All Implemented Interfaces:
hudson.model.Saveable,jenkins.util.io.OnMaster
- Enclosing class:
- SCLMSCM
@Extension public static final class SCLMSCM.SCLMSCMDescriptor extends hudson.scm.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
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self -
Field Summary
Fields inherited from class hudson.scm.SCMDescriptor
generation, repositoryBrowserFields inherited from class hudson.model.Descriptor
clazzFields inherited from interface hudson.model.Saveable
NOOP -
Constructor Summary
Constructors Constructor Description SCLMSCMDescriptor()Dummy constructor. -
Method Summary
Modifier and Type Method Description booleanconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)Configure action that is invoked from global settings.hudson.util.FormValidationdoCheckCredentialsId(hudson.model.Item item, java.lang.String value)hudson.util.ListBoxModeldoFillCredentialsIdItems(hudson.model.Item item, java.lang.String credentialsId)Fill in credentials IDs.java.lang.StringgetDisplayName()Get printable name.java.lang.StringgetSCLMJobHeader()Get globally configured job header.java.lang.StringgetSCLMJobStep()Get globally configured FLMCMD job step.Methods inherited from class hudson.scm.SCMDescriptor
getBrowserDescriptors, isApplicable, isApplicable, isBrowserReusable, loadMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, 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, getT, getViewPage, isInstance, isSubTypeOf, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SCLMSCMDescriptor
public SCLMSCMDescriptor()Dummy constructor.
-
-
Method Details
-
getSCLMJobHeader
public java.lang.String getSCLMJobHeader()Get globally configured job header.- Returns:
SCLMJobHeader.
-
getSCLMJobStep
public java.lang.String getSCLMJobStep()Get globally configured FLMCMD job step.- Returns:
SCLMJobStep.
-
doFillCredentialsIdItems
public hudson.util.ListBoxModel doFillCredentialsIdItems(@AncestorInPath hudson.model.Item item, @QueryParameter java.lang.String credentialsId)Fill in credentials IDs.- Parameters:
item- parentcredentialsId- credentials ID- Returns:
- filled in credentials IDs
-
doCheckCredentialsId
public hudson.util.FormValidation doCheckCredentialsId(@AncestorInPath hudson.model.Item item, @QueryParameter java.lang.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 java.lang.String getDisplayName()Get printable name.- Overrides:
getDisplayNamein classhudson.model.Descriptor<hudson.scm.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:
configurein classhudson.model.Descriptor<hudson.scm.SCM>- Parameters:
req- Request.json- Parameters.- Returns:
- Whether everything was setup OK.
-