Class BuildPreferenceJobProperty.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<JobProperty<?>>
hudson.model.JobPropertyDescriptor
jp.ikedam.jenkins.plugins.scoringloadbalancer.preferences.BuildPreferenceJobProperty.DescriptorImpl
- Enclosing class:
- BuildPreferenceJobProperty
@Extension
public static class BuildPreferenceJobProperty.DescriptorImpl
extends JobPropertyDescriptor
Manages views for
BuildPreferenceJobProperty
-
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
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name to display Displayed in Project Configuration page as a property name.Returns the property name to hold configuration ofBuildPreferenceJobProperty
newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) Create a new instanceBuildPreferenceJobProperty
from configurations specified by a user in System Configuration page.Methods inherited from class hudson.model.JobPropertyDescriptor
all, getPropertyDescriptors, isApplicable
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, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getPropertyName
Returns the property name to hold configuration ofBuildPreferenceJobProperty
- Returns:
- the property name
-
getDisplayName
Returns the name to display Displayed in Project Configuration page as a property name.- Overrides:
getDisplayName
in classDescriptor<JobProperty<?>>
- Returns:
- the name to display
- See Also:
-
newInstance
public BuildPreferenceJobProperty newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException Create a new instanceBuildPreferenceJobProperty
from configurations specified by a user in System Configuration page.- Overrides:
newInstance
in classJobPropertyDescriptor
- Parameters:
req
-formData
-- Returns:
- Throws:
Descriptor.FormException
- See Also:
-