}
}
private void processVmHealthCheckNode(XmlParser.Node settingsNode,
AppEngineWebXml appEngineWebXml) {
VmHealthCheck vmHealthCheck = appEngineWebXml.getVmHealthCheck();
String enableHealthCheck = trim(getChildNodeText(settingsNode, "enable-health-check"));
if (enableHealthCheck != null && !enableHealthCheck.isEmpty()) {
vmHealthCheck.setEnableHealthCheck(toBoolean(enableHealthCheck));
}
vmHealthCheck.setCheckIntervalSec(
getChildNodePositiveInteger(settingsNode, "check-interval-sec"));
vmHealthCheck.setTimeoutSec(getChildNodePositiveInteger(settingsNode, "timeout-sec"));
vmHealthCheck.setUnhealthyThreshold(
getChildNodePositiveInteger(settingsNode, "unhealthy-threshold"));
vmHealthCheck.setHealthyThreshold(
getChildNodePositiveInteger(settingsNode, "healthy-threshold"));
vmHealthCheck.setRestartThreshold(
getChildNodePositiveInteger(settingsNode, "restart-threshold"));
vmHealthCheck.setHost(getChildNodeText(settingsNode, "host"));
}