Class VersionNumberBuilder.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<BuildWrapper>
hudson.tasks.BuildWrapperDescriptor
org.jvnet.hudson.tools.versionnumber.VersionNumberBuilder.DescriptorImpl
- Enclosing class:
- VersionNumberBuilder
Descriptor for
VersionNumberBuilder
. Used as a singleton.
The class is marked as public so that it can be accessed from views.-
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 -
Method Summary
Modifier and TypeMethodDescriptionboolean
configure
(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) Performs on-the-fly validation of the form field 'environmentVariableName'.doCheckProjectStartDate
(String value) Performs on-the-fly validation of the form field 'projectStartDate'.doCheckVersionNumberString
(String value) Performs on-the-fly validation of the form field 'versionNumberString'.This human readable name is used in the configuration screen.boolean
isApplicable
(AbstractProject<?, ?> proj) 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, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
doCheckEnvironmentVariableName
Performs on-the-fly validation of the form field 'environmentVariableName'.- Parameters:
value
- This receives the current value of the field.
-
doCheckVersionNumberString
Performs on-the-fly validation of the form field 'versionNumberString'.- Parameters:
value
- This receives the current value of the field.
-
doCheckProjectStartDate
Performs on-the-fly validation of the form field 'projectStartDate'.- Parameters:
value
- This receives the current value of the field.
-
doFillWorstResultForIncrementItems
-
getDisplayName
This human readable name is used in the configuration screen.- Overrides:
getDisplayName
in classDescriptor<BuildWrapper>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) throws Descriptor.FormException - Overrides:
configure
in classDescriptor<BuildWrapper>
- Throws:
Descriptor.FormException
-
isApplicable
- Specified by:
isApplicable
in classBuildWrapperDescriptor
-