Class VersionNumberBuilder.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<BuildWrapper>
hudson.tasks.BuildWrapperDescriptor
org.jvnet.hudson.tools.versionnumber.VersionNumberBuilder.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
VersionNumberBuilder

public static final class VersionNumberBuilder.DescriptorImpl extends BuildWrapperDescriptor
Descriptor for VersionNumberBuilder. Used as a singleton. The class is marked as public so that it can be accessed from views.
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • doCheckEnvironmentVariableName

      public FormValidation doCheckEnvironmentVariableName(@QueryParameter String value)
      Performs on-the-fly validation of the form field 'environmentVariableName'.
      Parameters:
      value - This receives the current value of the field.
    • doCheckVersionNumberString

      public FormValidation doCheckVersionNumberString(@QueryParameter String value)
      Performs on-the-fly validation of the form field 'versionNumberString'.
      Parameters:
      value - This receives the current value of the field.
    • doCheckProjectStartDate

      public FormValidation doCheckProjectStartDate(@QueryParameter String value)
      Performs on-the-fly validation of the form field 'projectStartDate'.
      Parameters:
      value - This receives the current value of the field.
    • doFillWorstResultForIncrementItems

      public ListBoxModel doFillWorstResultForIncrementItems()
    • getDisplayName

      public String getDisplayName()
      This human readable name is used in the configuration screen.
      Overrides:
      getDisplayName in class Descriptor<BuildWrapper>
    • configure

      public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) throws Descriptor.FormException
      Overrides:
      configure in class Descriptor<BuildWrapper>
      Throws:
      Descriptor.FormException
    • isApplicable

      public boolean isApplicable(AbstractProject<?,?> proj)
      Specified by:
      isApplicable in class BuildWrapperDescriptor