Class BuildResultScoringRule.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<ScoringRule>
-
- jp.ikedam.jenkins.plugins.scoringloadbalancer.rules.BuildResultScoringRule.DescriptorImpl
-
- Enclosing class:
- BuildResultScoringRule
@Extension public static class BuildResultScoringRule.DescriptorImpl extends Descriptor<ScoringRule>
Manages views forBuildResultScoringRule
-
-
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
doCheckNumberOfBuilds(String value)
Verify the input number of builds.FormValidation
doCheckScale(String value)
Verify the input scale.FormValidation
doCheckScaleAdjustForOlder(String value)
Verify the input scaleAdjustForOlder.FormValidation
doCheckScoreForFailure(String value)
Verify the input scoreForFailure.FormValidation
doCheckScoreForSuccess(String value)
Verify the input scoreForSuccess.FormValidation
doCheckScoreForUnstable(String value)
Verify the input scoreForUnstable.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()
-
doCheckNumberOfBuilds
public FormValidation doCheckNumberOfBuilds(@QueryParameter String value)
Verify the input number of builds.- Parameters:
value
-- Returns:
-
doCheckScale
public FormValidation doCheckScale(@QueryParameter String value)
Verify the input scale.- Parameters:
value
-- Returns:
-
doCheckScaleAdjustForOlder
public FormValidation doCheckScaleAdjustForOlder(@QueryParameter String value)
Verify the input scaleAdjustForOlder.- Parameters:
value
-- Returns:
-
doCheckScoreForSuccess
public FormValidation doCheckScoreForSuccess(@QueryParameter String value)
Verify the input scoreForSuccess.- Parameters:
value
-- Returns:
-
doCheckScoreForUnstable
public FormValidation doCheckScoreForUnstable(@QueryParameter String value)
Verify the input scoreForUnstable.- Parameters:
value
-- Returns:
-
doCheckScoreForFailure
public FormValidation doCheckScoreForFailure(@QueryParameter String value)
Verify the input scoreForFailure.- Parameters:
value
-- Returns:
-
-