Class NodeLoadScoringRule.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<ScoringRule>
jp.ikedam.jenkins.plugins.scoringloadbalancer.rules.NodeLoadScoringRule.DescriptorImpl
- Enclosing class:
NodeLoadScoringRule
@Extension
@Symbol("nodeLoadScoringRule")
public static class NodeLoadScoringRule.DescriptorImpl
extends Descriptor<ScoringRule>
Manages views for
NodeLoadScoringRule-
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 TypeMethodDescriptiondoCheckScale(String value) Verify the input scale.Verify the input scoreForBusyExecutor.Verify the input scoreForIdleExecutor.Returns the name to display.Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, 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
-
getDisplayName
Returns the name to display. Displayed in System Configuration page, as a name of a scoring rule.- Overrides:
getDisplayNamein classDescriptor<ScoringRule>- Returns:
- the name to display
- See Also:
-
doCheckScale
Verify the input scale.- Parameters:
value-- Returns:
-
doCheckScoreForIdleExecutor
Verify the input scoreForIdleExecutor.- Parameters:
value-- Returns:
-
doCheckScoreForBusyExecutor
Verify the input scoreForBusyExecutor.- Parameters:
value-- Returns:
-