Class VersionNumberBuilder.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<BuildWrapper>
-
- hudson.tasks.BuildWrapperDescriptor
-
- org.jvnet.hudson.tools.versionnumber.VersionNumberBuilder.DescriptorImpl
-
- Enclosing class:
- VersionNumberBuilder
public static final class VersionNumberBuilder.DescriptorImpl extends BuildWrapperDescriptor
Descriptor forVersionNumberBuilder
. 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 Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
FormValidation
doCheckEnvironmentVariableName(String value)
Performs on-the-fly validation of the form field 'environmentVariableName'.FormValidation
doCheckProjectStartDate(String value)
Performs on-the-fly validation of the form field 'projectStartDate'.FormValidation
doCheckVersionNumberString(String value)
Performs on-the-fly validation of the form field 'versionNumberString'.ListBoxModel
doFillWorstResultForIncrementItems()
String
getDisplayName()
This human readable name is used in the configuration screen.boolean
isApplicable(AbstractProject<?,?> proj)
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
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 classDescriptor<BuildWrapper>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException
- Overrides:
configure
in classDescriptor<BuildWrapper>
- Throws:
Descriptor.FormException
-
isApplicable
public boolean isApplicable(AbstractProject<?,?> proj)
- Specified by:
isApplicable
in classBuildWrapperDescriptor
-
-