Package hudson.matrix

Class AxisDescriptor

java.lang.Object
hudson.model.Descriptor<Axis>
hudson.matrix.AxisDescriptor
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Direct Known Subclasses:
DefaultAxisDescriptor, JDKAxis.DescriptorImpl, LabelAxis.DescriptorImpl, LabelExpAxis.DescriptorImpl, TextAxis.DescriptorImpl

public abstract class AxisDescriptor extends Descriptor<Axis>
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • AxisDescriptor

      protected AxisDescriptor(Class<? extends Axis> clazz)
    • AxisDescriptor

      protected AxisDescriptor()
  • Method Details

    • isInstantiable

      public boolean isInstantiable()
      Return false if the user shouldn't be able to create this axis from the UI.
    • doCheckName

      public FormValidation doCheckName(@QueryParameter String value)
      Makes sure that the given name is good as a axis name. Aside from Jenkins.checkGoodName(java.lang.String) this disallows ',' and '=' as special characters used in Combination presentation.
    • checkValue

      public FormValidation checkValue(@QueryParameter String value)
      Makes sure that the given name is good as a axis name. Aside from Jenkins.checkGoodName(java.lang.String) this disallows ',' as special character used in Combination presentation. Note it is not necessary to disallow '=' in value as everything after the first occurrence is considered to be a value. Subclasses are expected to expose own doCheck method possibly delegating to this one.