public class OrganizationChildHealthMetricsProperty extends OrganizationFolderProperty<OrganizationFolder>
OrganizationFolder.| Modifier and Type | Class and Description |
|---|---|
static class |
OrganizationChildHealthMetricsProperty.DescriptorImpl
Our descriptor.
|
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
OrganizationChildHealthMetricsProperty(List<com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric> templates)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
decorate(MultiBranchProject<?,?> child,
TaskListener listener)
SPI for performing an idempotent application of this property's decoration to the supplied child.
|
List<com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric> |
getTemplates()
Gets the current template metrics.
|
applyDecoration, getDescriptor@DataBoundConstructor public OrganizationChildHealthMetricsProperty(List<com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric> templates)
templates - the folder health metrics.public List<com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric> getTemplates()
protected void decorate(@NonNull
MultiBranchProject<?,?> child,
@NonNull
TaskListener listener)
throws IOException
decorate in class OrganizationFolderProperty<OrganizationFolder>child - the child to decorate.listener - a listener to log any commentary to.IOException - as a convenience to implementations as some of the expected changes may call methods
that could throw this but shouldn't because of the API's requirement that a BulkChange contains
the child.Copyright © 2016–2019. All rights reserved.