Class BuildResultScoringRule.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<ScoringRule>
jp.ikedam.jenkins.plugins.scoringloadbalancer.rules.BuildResultScoringRule.DescriptorImpl
- Enclosing class:
- BuildResultScoringRule
@Extension
@Symbol("buildResultScoringRule")
public static class BuildResultScoringRule.DescriptorImpl
extends Descriptor<ScoringRule>
Manages views for
BuildResultScoringRule
-
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 TypeMethodDescriptiondoCheckNumberOfBuilds
(String value) Verify the input number of builds.doCheckScale
(String value) Verify the input scale.doCheckScaleAdjustForOlder
(String value) Verify the input scaleAdjustForOlder.doCheckScoreForFailure
(String value) Verify the input scoreForFailure.doCheckScoreForSuccess
(String value) Verify the input scoreForSuccess.doCheckScoreForUnstable
(String value) Verify the input scoreForUnstable.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:
getDisplayName
in classDescriptor<ScoringRule>
- Returns:
- the name to display
- See Also:
-
doCheckNumberOfBuilds
Verify the input number of builds.- Parameters:
value
-- Returns:
-
doCheckScale
Verify the input scale.- Parameters:
value
-- Returns:
-
doCheckScaleAdjustForOlder
Verify the input scaleAdjustForOlder.- Parameters:
value
-- Returns:
-
doCheckScoreForSuccess
Verify the input scoreForSuccess.- Parameters:
value
-- Returns:
-
doCheckScoreForUnstable
Verify the input scoreForUnstable.- Parameters:
value
-- Returns:
-
doCheckScoreForFailure
Verify the input scoreForFailure.- Parameters:
value
-- Returns:
-