Class PrimaryBranchHealthMetric

java.lang.Object
hudson.model.AbstractDescribableImpl<com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric>
com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric
jenkins.branch.PrimaryBranchHealthMetric
All Implemented Interfaces:
Describable<com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric>

public class PrimaryBranchHealthMetric extends com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric
A FolderHealthMetric for MultiBranchProject instances that only reports the health of the primary branch.
Since:
2.4.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Our descriptor.

    Nested classes/interfaces inherited from class com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric

    com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric.Reporter, com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric.Type
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric.Type
    com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric.Reporter

    Methods inherited from class com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric

    getHealthReport

    Methods inherited from class hudson.model.AbstractDescribableImpl

    getDescriptor

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PrimaryBranchHealthMetric

      @DataBoundConstructor public PrimaryBranchHealthMetric()
      Constructor.
  • Method Details

    • reporter

      public com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric.Reporter reporter()
      Specified by:
      reporter in class com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric
    • getType

      public com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric.Type getType()
      Overrides:
      getType in class com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric