Package hudson.matrix
Class AxisDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<Axis>
-
- hudson.matrix.AxisDescriptor
-
- Direct Known Subclasses:
DefaultAxisDescriptor
,JDKAxis.DescriptorImpl
,LabelAxis.DescriptorImpl
,LabelExpAxis.DescriptorImpl
,TextAxis.DescriptorImpl
public abstract class AxisDescriptor extends Descriptor<Axis>
Descriptor
forAxis
- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AxisDescriptor()
protected
AxisDescriptor(Class<? extends Axis> clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
checkValue(String value)
Makes sure that the given name is good as a axis name.FormValidation
doCheckName(String value)
Makes sure that the given name is good as a axis name.boolean
isInstantiable()
Return false if the user shouldn't be able to create this axis from the UI.-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
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 fromJenkins.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 fromJenkins.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 owndoCheck
method possibly delegating to this one.
-
-