Package hudson.scm

Class IntegrityCheckpointAction.IntegrityCheckpointDescriptorImpl

java.lang.Object
hudson.model.Descriptor<hudson.tasks.Publisher>
hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
hudson.scm.IntegrityCheckpointAction.IntegrityCheckpointDescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable, jenkins.model.Loadable, jenkins.util.io.OnMaster
Enclosing class:
IntegrityCheckpointAction

public static class IntegrityCheckpointAction.IntegrityCheckpointDescriptorImpl extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
The relationship of Descriptor and IntegrityCheckpointAction (the describable) is akin to class and object. This means the descriptor is used to create instances of the describable. Usually the Descriptor is an internal class in the IntegrityCheckpointAction class named DescriptorImpl.
  • 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
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class hudson.model.Descriptor

    clazz

    Fields inherited from interface hudson.model.Saveable

    NOOP
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
     
    hudson.util.FormValidation
    doCheckpointLabelCheck(String checkpointLabel)
     
    hudson.util.ListBoxModel
    Provides a list box for users to choose from a list of Integrity Server configurations
    Returns the defaultCheckpointLabel for a checkpoint
     
    boolean
    isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
     
    hudson.tasks.Publisher
    newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
     

    Methods inherited from class hudson.tasks.BuildStepDescriptor

    filter

    Methods inherited from class hudson.model.Descriptor

    addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, 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
  • Field Details

  • Constructor Details

    • IntegrityCheckpointDescriptorImpl

      public IntegrityCheckpointDescriptorImpl()
  • Method Details

    • newInstance

      public hudson.tasks.Publisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException
      Overrides:
      newInstance in class hudson.model.Descriptor<hudson.tasks.Publisher>
      Throws:
      hudson.model.Descriptor.FormException
    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>
    • configure

      public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException
      Overrides:
      configure in class hudson.model.Descriptor<hudson.tasks.Publisher>
      Throws:
      hudson.model.Descriptor.FormException
    • isApplicable

      public boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
      Specified by:
      isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
    • getCheckpointLabel

      public String getCheckpointLabel()
      Returns the defaultCheckpointLabel for a checkpoint
      Returns:
    • doFillServerConfigItems

      public hudson.util.ListBoxModel doFillServerConfigItems(@QueryParameter String serverConfig)
      Provides a list box for users to choose from a list of Integrity Server configurations
      Parameters:
      serverConfig - Simple configuration name
      Returns:
    • doCheckpointLabelCheck

      public hudson.util.FormValidation doCheckpointLabelCheck(@QueryParameter("value") String checkpointLabel) throws IOException, javax.servlet.ServletException
      Throws:
      IOException
      javax.servlet.ServletException