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

    repositoryBrowser

    Fields inherited from class hudson.model.Descriptor

    clazz

    Fields inherited from interface hudson.model.Saveable

    NOOP
  • Constructor Summary

    Constructors
    Constructor Description
    SCLMSCMDescriptor()
    Dummy constructor.
  • Method Summary

    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.
    hudson.util.FormValidation doCheckCredentialsId​(hudson.model.Item item, java.lang.String value)  
    hudson.util.ListBoxModel doFillCredentialsIdItems​(hudson.model.Item item, java.lang.String credentialsId)
    Fill in credentials IDs.
    java.lang.String getDisplayName()
    Get printable name.
    java.lang.String getSCLMJobHeader()
    Get globally configured job header.
    java.lang.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, 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

    Methods 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 - parent
      credentialsId - 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:
      getDisplayName in class hudson.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:
      configure in class hudson.model.Descriptor<hudson.scm.SCM>
      Parameters:
      req - Request.
      json - Parameters.
      Returns:
      Whether everything was setup OK.