public abstract class HealthTarget<M extends HealthMetric<OBSERVABLE>,OBSERVABLE> extends Object implements Serializable
| Constructor and Description |
|---|
HealthTarget(M metric,
String healthy,
String unhealthy,
String unstable,
String fail,
String failNew) |
| Modifier and Type | Method and Description |
|---|---|
hudson.model.HealthReport |
evaluateHealth(OBSERVABLE observable,
String descriptionPrefix) |
hudson.model.Result |
evaluateStability(OBSERVABLE observable) |
Float |
getFail() |
Float |
getFailNew() |
Float |
getHealthy() |
M |
getMetric() |
Float |
getUnhealthy() |
Float |
getUnstable() |
public M getMetric()
public Float getHealthy()
public Float getUnhealthy()
public Float getUnstable()
public Float getFail()
public Float getFailNew()
public hudson.model.HealthReport evaluateHealth(OBSERVABLE observable, String descriptionPrefix)
public hudson.model.Result evaluateStability(OBSERVABLE observable)
Copyright © 2016–2018. All rights reserved.