protected Object doExecute() throws Exception { if (options != null) { fabricService.setDefaultJvmOptions(options); } else { System.out.println(fabricService.getDefaultJvmOptions()); } return null; }
public FabricDTO(FabricService fabricService) { this.zookeeperUrl = fabricService.getZookeeperUrl(); this.currentContainerName = fabricService.getCurrentContainerName(); this.defaultVersion = fabricService.getDefaultVersionId(); this.environment = fabricService.getEnvironment(); this.mavenRepoURI = asString(fabricService.getMavenRepoURI()); this.mavenRepoUploadURI = asString(fabricService.getMavenRepoUploadURI()); this.defaultJvmOptions = fabricService.getDefaultJvmOptions(); }
public FabricDTO(FabricService fabricService) { this.zookeeperUrl = fabricService.getZookeeperUrl(); this.currentContainerName = fabricService.getCurrentContainerName(); this.defaultVersion = fabricService.getDefaultVersionId(); this.environment = fabricService.getEnvironment(); this.mavenRepoURI = asString(fabricService.getMavenRepoURI()); this.mavenRepoUploadURI = asString(fabricService.getMavenRepoUploadURI()); this.defaultJvmOptions = fabricService.getDefaultJvmOptions(); }
.zookeeperUrl(fabricService.getZookeeperUrl()) .zookeeperPassword(isEnsembleServer && zookeeperPassword != null ? zookeeperPassword : fabricService.getZookeeperPassword()) .jvmOpts(jvmOpts != null ? jvmOpts : fabricService.getDefaultJvmOptions()) .environmentalVariable(environmentalVariables) .withUser(newUser, newUserPassword , newUserRole)
.zookeeperUrl(fabricService.getZookeeperUrl()) .zookeeperPassword(fabricService.getZookeeperPassword()) .jvmOpts(jvmOpts != null ? jvmOpts : fabricService.getDefaultJvmOptions()) .jmxUser(jmxUser) .jmxPassword(jmxPassword)