@Extension public class HealthCheckManager extends DerivedPageManager<HealthZone>
HealthCheck
configurations.
TODO(nghia): Because HealthZone
s have URLs based on their names, we
need to make sure that names are different from one another otherwise some
HealthZone
s 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, save
public HealthCheckManager() throws IOException
HealthCheckManager
from Jenkins configuration
from disk if the configuration file (by DerivedPageManager.getConfigFile()
) exists.
Otherwise create a new instance.IOException
protected String getConfigFileName()
getConfigFileName
in class DerivedPageManager<HealthZone>
public String getUrlName()
getUrlName
in interface hudson.model.Action
getUrlName
in class hudson.model.ManagementLink
public String getDisplayName()
public String getDescription()
getDescription
in class hudson.model.ManagementLink
public static List<hudson.model.Descriptor<HealthCheck>> getHealthCheckDescriptors()
Descriptor
s of registered HealthCheck
extensions.protected void setDerivedPages(List<HealthZone> zones)
setDerivedPages
in class DerivedPageManager<HealthZone>
Copyright © 2004-2015. All Rights Reserved.