return result;
}
private void processAutomaticScalingNode(XmlParser.Node settingsNode,
AppEngineWebXml appEngineWebXml) {
AutomaticScaling automaticScaling = appEngineWebXml.getAutomaticScaling();
automaticScaling.setMinPendingLatency(getChildNodeText(settingsNode, "min-pending-latency"));
automaticScaling.setMaxPendingLatency(getChildNodeText(settingsNode, "max-pending-latency"));
automaticScaling.setMinIdleInstances(getChildNodeText(settingsNode, "min-idle-instances"));
automaticScaling.setMaxIdleInstances(getChildNodeText(settingsNode, "max-idle-instances"));
automaticScaling.setMaxConcurrentRequests(
getChildNodeText(settingsNode, "max-concurrent-requests"));
automaticScaling.setMinNumInstances(
getChildNodePositiveInteger(settingsNode, "min-num-instances"));
automaticScaling.setMaxNumInstances(
getChildNodePositiveInteger(settingsNode, "max-num-instances"));
automaticScaling.setCoolDownPeriodSec(
getChildNodePositiveInteger(settingsNode, "cool-down-period-sec"));
processCpuUtilizationNode(settingsNode, automaticScaling);
}