Class NodeLoadScoringRule.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<ScoringRule>
-
- jp.ikedam.jenkins.plugins.scoringloadbalancer.rules.NodeLoadScoringRule.DescriptorImpl
-
- Enclosing class:
- NodeLoadScoringRule
@Extension public static class NodeLoadScoringRule.DescriptorImpl extends Descriptor<ScoringRule>
Manages views forNodeLoadScoringRule
-
-
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
doCheckScale(String value)
Verify the input scale.FormValidation
doCheckScoreForBusyExecutor(String value)
Verify the input scoreForBusyExecutor.FormValidation
doCheckScoreForIdleExecutor(String value)
Verify the input scoreForIdleExecutor.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()
-
doCheckScale
public FormValidation doCheckScale(@QueryParameter String value)
Verify the input scale.- Parameters:
value
-- Returns:
-
doCheckScoreForIdleExecutor
public FormValidation doCheckScoreForIdleExecutor(@QueryParameter String value)
Verify the input scoreForIdleExecutor.- Parameters:
value
-- Returns:
-
doCheckScoreForBusyExecutor
public FormValidation doCheckScoreForBusyExecutor(@QueryParameter String value)
Verify the input scoreForBusyExecutor.- Parameters:
value
-- Returns:
-
-