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
Modifier and TypeClassDescriptionstatic 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
-
Method Summary
Methods inherited from class com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric
getHealthReport
Methods 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:
reporter
in classcom.cloudbees.hudson.plugins.folder.health.FolderHealthMetric
-
getType
public com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric.Type getType()- Overrides:
getType
in classcom.cloudbees.hudson.plugins.folder.health.FolderHealthMetric
-