Class NodePreferenceScoringRule.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<ScoringRule>
-
- jp.ikedam.jenkins.plugins.scoringloadbalancer.rules.NodePreferenceScoringRule.DescriptorImpl
-
- Enclosing class:
- NodePreferenceScoringRule
@Extension public static class NodePreferenceScoringRule.DescriptorImpl extends Descriptor<ScoringRule>
Manages views forNodePreferenceScoringRule
-
-
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 FormValidation
doCheckNodesPreferenceScale(String value)
Verify the input nodesPreferenceScale.FormValidation
doCheckProjectPreferenceScale(String value)
Verify the input projectPreferenceScale.String
getDisplayName()
Returns the name to display.-
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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
Returns the name to display. Displayed in System Configuration page, as a name of a scoring rule.- Overrides:
getDisplayName
in classDescriptor<ScoringRule>
- Returns:
- the name to display
- See Also:
Descriptor.getDisplayName()
-
doCheckNodesPreferenceScale
public FormValidation doCheckNodesPreferenceScale(@QueryParameter String value)
Verify the input nodesPreferenceScale.- Parameters:
value
-- Returns:
-
doCheckProjectPreferenceScale
public FormValidation doCheckProjectPreferenceScale(@QueryParameter String value)
Verify the input projectPreferenceScale.- Parameters:
value
-- Returns:
-
-