public ServerGroupDeploymentPlan createRollingToServers() { return new ServerGroupDeploymentPlan(serverGroupName, rollback, true, maxFailures, maxFailurePercentage); }
public ServerGroupDeploymentPlan createRollback() { return new ServerGroupDeploymentPlan(serverGroupName, true, rollingToServers, maxFailures, maxFailurePercentage); }
public ServerGroupDeploymentPlan createRollback() { return new ServerGroupDeploymentPlan(serverGroupName, true, rollingToServers, maxFailures, maxFailurePercentage); }
public ServerGroupDeploymentPlan createRollingToServers() { return new ServerGroupDeploymentPlan(serverGroupName, rollback, true, maxFailures, maxFailurePercentage); }
public ServerGroupDeploymentPlan createAllowFailurePercentage(int serverFailurePercentage) { if (serverFailurePercentage < 1 || serverFailurePercentage > 99) throw MESSAGES.invalidValue("serverFailurePercentage", serverFailurePercentage, 0, 100); return new ServerGroupDeploymentPlan(serverGroupName, true, rollingToServers, maxFailures, serverFailurePercentage); }
public ServerGroupDeploymentPlan createAllowFailures(int serverFailures) { if (serverFailures < 1) throw MESSAGES.invalidValue("serverFailures", serverFailures, 0); return new ServerGroupDeploymentPlan(serverGroupName, true, rollingToServers, serverFailures, maxFailurePercentage); }
public ServerGroupDeploymentPlan createAllowFailurePercentage(int serverFailurePercentage) { if (serverFailurePercentage < 1 || serverFailurePercentage > 99) throw ControllerClientLogger.ROOT_LOGGER.invalidValue("serverFailurePercentage", serverFailurePercentage, 0, 100); return new ServerGroupDeploymentPlan(serverGroupName, true, rollingToServers, maxFailures, serverFailurePercentage); }
public ServerGroupDeploymentPlan createAllowFailures(int serverFailures) { if (serverFailures < 1) throw ControllerClientLogger.ROOT_LOGGER.invalidValue("serverFailures", serverFailures, 0); return new ServerGroupDeploymentPlan(serverGroupName, true, rollingToServers, serverFailures, maxFailurePercentage); }
@Override public ServerGroupDeploymentPlanBuilder rollingToServerGroup(String serverGroupName) { DeploymentSetPlanImpl setPlan = getCurrentDeploymentSetPlan(); ServerGroupDeploymentPlan groupPlan = new ServerGroupDeploymentPlan(serverGroupName); setPlan = setPlan.storeRollToServerGroup(groupPlan); return new ServerGroupDeploymentPlanBuilderImpl(this, setPlan); }
ServerGroupDeploymentPlanBuilder toServerGroup(final String serverGroupName) { DeploymentSetPlanImpl currentSet = getCurrentDeploymentSetPlan(); DeploymentSetPlanImpl newSet = currentSet.storeServerGroup(new ServerGroupDeploymentPlan(serverGroupName)); return new ServerGroupDeploymentPlanBuilderImpl(this, newSet); }
@Override public ServerGroupDeploymentPlanBuilder toServerGroup(String serverGroupName) { DeploymentSetPlanImpl setPlan = getCurrentDeploymentSetPlan(); ServerGroupDeploymentPlan groupPlan = new ServerGroupDeploymentPlan(serverGroupName); setPlan = setPlan.storeServerGroup(groupPlan); return new ServerGroupDeploymentPlanBuilderImpl(this, setPlan); } }
@Override public ServerGroupDeploymentPlanBuilder rollingToServerGroup(String serverGroupName) { DeploymentSetPlanImpl setPlan = getCurrentDeploymentSetPlan(); ServerGroupDeploymentPlan groupPlan = new ServerGroupDeploymentPlan(serverGroupName); setPlan = setPlan.storeRollToServerGroup(groupPlan); return new ServerGroupDeploymentPlanBuilderImpl(this, setPlan); }
@Override public ServerGroupDeploymentPlanBuilder toServerGroup(String serverGroupName) { DeploymentSetPlanImpl setPlan = getCurrentDeploymentSetPlan(); ServerGroupDeploymentPlan groupPlan = new ServerGroupDeploymentPlan(serverGroupName); setPlan = setPlan.storeServerGroup(groupPlan); return new ServerGroupDeploymentPlanBuilderImpl(this, setPlan); } }
ServerGroupDeploymentPlanBuilder toServerGroup(final String serverGroupName) { DeploymentSetPlanImpl currentSet = getCurrentDeploymentSetPlan(); DeploymentSetPlanImpl newSet = currentSet.storeServerGroup(new ServerGroupDeploymentPlan(serverGroupName)); return new ServerGroupDeploymentPlanBuilderImpl(this, newSet); }