public class LaunchCluster extends WhirrCommandSupport {
@Override
protected Object doExecute() throws Exception {
Thread.currentThread().setContextClassLoader(getClass().getClassLoader());
LaunchClusterCommand command = new LaunchClusterCommand(clusterControllerFactory);
ClusterSpec clusterSpec = getClusterSpec();
if (clusterSpec != null) {
command.run(System.in, System.out, System.err, clusterSpec);
}
return null;
}