this.config.setSmtpTLS(LauncherUtils.getArgSmtpTLS(arguments)); this.config.setSmtpUsername(LauncherUtils.getArgSmtpUsername(arguments)); this.config.setSmtpPassword(LauncherUtils.getArgSmtpPassword(arguments)); this.config.setNotifyTo(LauncherUtils.getArgNotifyto(arguments)); Date lookFromDate = arguments.getDate("lookFromDate");
private void initConfig(JSAPResult arguments) { this.config = RepairnatorConfig.getInstance(); if (LauncherUtils.getArgDebug(arguments)) { this.config.setDebug(true); } this.config.setRunId(LauncherUtils.getArgRunId(arguments)); if (LauncherUtils.gerArgBearsMode(arguments)) { this.config.setLauncherMode(LauncherMode.BEARS); } else { this.config.setLauncherMode(LauncherMode.REPAIR); } this.config.setInputPath(LauncherUtils.getArgInput(arguments).getPath()); this.config.setOutputPath(LauncherUtils.getArgOutput(arguments).getAbsolutePath()); this.config.setNotifyEndProcess(LauncherUtils.getArgNotifyEndProcess(arguments)); this.config.setSmtpServer(LauncherUtils.getArgSmtpServer(arguments)); this.config.setSmtpPort(LauncherUtils.getArgSmtpPort(arguments)); this.config.setSmtpTLS(LauncherUtils.getArgSmtpTLS(arguments)); this.config.setSmtpUsername(LauncherUtils.getArgSmtpUsername(arguments)); this.config.setSmtpPassword(LauncherUtils.getArgSmtpPassword(arguments)); this.config.setNotifyTo(LauncherUtils.getArgNotifyto(arguments)); this.config.setDockerImageName(LauncherUtils.getArgDockerImageName(arguments)); this.config.setSkipDelete(LauncherUtils.getArgSkipDelete(arguments)); this.config.setNbThreads(LauncherUtils.getArgNbThreads(arguments)); this.config.setGlobalTimeout(LauncherUtils.getArgGlobalTimeout(arguments)); this.config.setHumanPatch(arguments.getBoolean("humanPatch")); this.config.setRepository(arguments.getString("repository")); }
this.config.setSmtpTLS(LauncherUtils.getArgSmtpTLS(arguments)); this.config.setSmtpUsername(LauncherUtils.getArgSmtpUsername(arguments)); this.config.setSmtpPassword(LauncherUtils.getArgSmtpPassword(arguments)); this.config.setNotifyTo(LauncherUtils.getArgNotifyto(arguments)); this.config.setDockerImageName(LauncherUtils.getArgDockerImageName(arguments));
this.getConfig().setSmtpTLS(LauncherUtils.getArgSmtpTLS(arguments)); this.getConfig().setSmtpUsername(LauncherUtils.getArgSmtpUsername(arguments)); this.getConfig().setSmtpPassword(LauncherUtils.getArgSmtpPassword(arguments)); this.getConfig().setNotifyTo(LauncherUtils.getArgNotifyto(arguments));
this.config.setSmtpTLS(LauncherUtils.getArgSmtpTLS(arguments)); this.config.setSmtpUsername(LauncherUtils.getArgSmtpUsername(arguments)); this.config.setSmtpPassword(LauncherUtils.getArgSmtpPassword(arguments)); this.config.setNotifyTo(LauncherUtils.getArgNotifyto(arguments)); this.config.setDockerImageName(LauncherUtils.getArgDockerImageName(arguments));