groupDeploymentBuilder.toServerGroup(serverGroupName));
}
if (groupDeploymentBuilder == null) {
throw new DeploymentFailureException("No server groups were defined for the deployment.");
}
return groupDeploymentBuilder.build();
}
throw new IllegalStateException(String.format("Invalid type '%s' for deployment", type));
}
@Override