@Extension public class HealthCheckManager extends DerivedPageManager<HealthZone>
HealthCheck configurations.
TODO(nghia): Because HealthZones have URLs based on their names, we
need to make sure that names are different from one another otherwise some
HealthZones will share URLs leading to undefined/undesirable
behaviors. We need to add more UI validation code here.| Constructor and Description |
|---|
HealthCheckManager()
Load an instance of
HealthCheckManager from Jenkins configuration
from disk if the configuration file (by DerivedPageManager.getConfigFile()) exists. |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getConfigFileName()
Return the filename in which to store the configuration serializing a
(singleton) subclass instance.
|
String |
getDescription() |
String |
getDisplayName() |
static List<hudson.model.Descriptor<HealthCheck>> |
getHealthCheckDescriptors() |
String |
getUrlName() |
protected void |
setDerivedPages(List<HealthZone> zones) |
doConfigSubmit, getDerivedPages, getIconFileName, getZone, savepublic HealthCheckManager()
throws IOException
HealthCheckManager from Jenkins configuration
from disk if the configuration file (by DerivedPageManager.getConfigFile()) exists.
Otherwise create a new instance.IOExceptionprotected String getConfigFileName()
getConfigFileName in class DerivedPageManager<HealthZone>public String getUrlName()
getUrlName in interface hudson.model.ActiongetUrlName in class hudson.model.ManagementLinkpublic String getDisplayName()
public String getDescription()
getDescription in class hudson.model.ManagementLinkpublic static List<hudson.model.Descriptor<HealthCheck>> getHealthCheckDescriptors()
Descriptors of registered HealthCheck extensions.protected void setDerivedPages(List<HealthZone> zones)
setDerivedPages in class DerivedPageManager<HealthZone>Copyright © 2004-2015. All Rights Reserved.