Class NamedChildHealthMetric.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<FolderHealthMetric>
com.cloudbees.hudson.plugins.folder.health.FolderHealthMetricDescriptor
com.cloudbees.hudson.plugins.folder.health.NamedChildHealthMetric.DescriptorImpl
- Enclosing class:
- NamedChildHealthMetric
@Extension(ordinal=400.0)
public static class NamedChildHealthMetric.DescriptorImpl
extends FolderHealthMetricDescriptor
Descriptor Implementation.
- Author:
- strangelookingnerd
-
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 TypeMethodDescriptionOptionally create a default health metric to be used in new folders.doAutoCompleteChildName(String value, ItemGroup<Item> container) Auto-completion for the "child names" field in the configuration.Methods inherited from class com.cloudbees.hudson.plugins.folder.health.FolderHealthMetricDescriptor
all, isApplicableMethods 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
- Overrides:
getDisplayNamein classDescriptor<FolderHealthMetric>
-
createDefault
Description copied from class:FolderHealthMetricDescriptorOptionally create a default health metric to be used in new folders.- Overrides:
createDefaultin classFolderHealthMetricDescriptor- Returns:
- a default configuration of the associated metric, or null to not include by default
-
doAutoCompleteChildName
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public AutoCompletionCandidates doAutoCompleteChildName(@QueryParameter String value, @AncestorInPath ItemGroup<Item> container) Auto-completion for the "child names" field in the configuration.- Parameters:
value- the inputcontainer- the context- Returns:
- the candidates
-