Package jenkins.branch
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 ClassesModifier and TypeClassDescriptionstatic classOur 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 -
Method Summary
Methods inherited from class com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric
getHealthReportMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
PrimaryBranchHealthMetric
@DataBoundConstructor public PrimaryBranchHealthMetric()Constructor.
-
-
Method Details
-
reporter
public com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric.Reporter reporter()- Specified by:
reporterin classcom.cloudbees.hudson.plugins.folder.health.FolderHealthMetric
-
getType
public com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric.Type getType()- Overrides:
getTypein classcom.cloudbees.hudson.plugins.folder.health.FolderHealthMetric
-