Class OrganizationChildHealthMetricsProperty.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<?>>
com.cloudbees.hudson.plugins.folder.AbstractFolderPropertyDescriptor
jenkins.branch.OrganizationFolderPropertyDescriptor
jenkins.branch.OrganizationChildHealthMetricsProperty.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
OrganizationChildHealthMetricsProperty

@Extension public static class OrganizationChildHealthMetricsProperty.DescriptorImpl extends OrganizationFolderPropertyDescriptor
Our descriptor.
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

      @NonNull public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<?>>
    • getHealthMetricDescriptors

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) @NonNull public List<com.cloudbees.hudson.plugins.folder.health.FolderHealthMetricDescriptor> getHealthMetricDescriptors()
      Health metrics that can be configured for a MultiBranchProject.
      Returns:
      the health metric descriptors.
    • getDefaultTemplates

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) @NonNull public List<com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric> getDefaultTemplates()
      Creates the default templates to use if none have been configured.
      Returns:
      the default templates to use if none have been configured