@Option(longName = "redeploy", flag = true) @Hidden public void setRedeploy(boolean redeploy) { this.redeploy = redeploy; }
/** * A hidden option to set the launcher class. * * @param clazz the class */ @Option(longName = "launcher-class") @Hidden public void setLauncherClass(String clazz) { this.launcher = clazz; }
/** * Whether or not the created process error streams and output streams needs to be redirected to the launcher process. * * @param redirect {@code true} to enable redirection, {@code false} otherwise */ @Option(longName = "redirect-output", flag = true) @Hidden public void setRedirect(boolean redirect) { this.redirect = redirect; }
/** * Sets the current working directory. This method is called when the user configure the "cwd" option as * follows: {@code --cwd=the-directory}. * * @param cwd the directory */ @SuppressWarnings("unused") @Option(longName = "cwd", argName = "dir") @Description("Specifies the current working directory for this command, default set to the Java current directory") @Hidden public void setCwd(File cwd) { this.cwd = cwd; }
/** * Gets system properties passed in the user command line. The user can configure system properties using * {@code -Dkey=value}. * * @param props the properties */ @SuppressWarnings("unused") @Option(longName = "systemProperty", shortName = "D", argName = "key>=<value") @Description("Set a system property") @Hidden public void setSystemProps(List<String> props) { this.systemProperties = props; }
/** * Sets the user command executed during redeployment. * * @param command the on redeploy command * @deprecated Use 'on-redeploy' instead. It will be removed in vert.x 3.3 */ @Option(longName = "onRedeploy", argName = "cmd") @Description("Optional shell command executed when a redeployment is triggered (deprecated - will be removed in 3" + ".3, use 'on-redeploy' instead") @Hidden @Deprecated public void setOnRedeployCommandOld(String command) { out.println("[WARNING] the 'onRedeploy' option is deprecated, and will be removed in vert.x 3.3. Use " + "'on-redeploy' instead."); setOnRedeployCommand(command); }
@Option(longName = "count", shortName = "c") @Hidden public void setCount(int count) { this.count = count; }
@Hidden @Name("hidden") public class HiddenCommand extends DefaultCommand {
@Option(longName = "redeploy", flag = true) @Hidden public void setRedeploy(boolean redeploy) { this.redeploy = redeploy; }
/** * Whether or not the created process error streams and output streams needs to be redirected to the launcher process. * * @param redirect {@code true} to enable redirection, {@code false} otherwise */ @Option(longName = "redirect-output", flag = true) @Hidden public void setRedirect(boolean redirect) { this.redirect = redirect; }
/** * A hidden option to set the launcher class. * * @param clazz the class */ @Option(longName = "launcher-class") @Hidden public void setLauncherClass(String clazz) { this.launcher = clazz; }
/** * Gets system properties passed in the user command line. The user can configure system properties using * {@code -Dkey=value}. * * @param props the properties */ @SuppressWarnings("unused") @Option(longName = "systemProperty", shortName = "D", argName = "key>=<value") @Description("Set a system property") @Hidden public void setSystemProps(List<String> props) { this.systemProperties = props; }
/** * Sets the current working directory. This method is called when the user configure the "cwd" option as * follows: {@code --cwd=the-directory}. * * @param cwd the directory */ @SuppressWarnings("unused") @Option(longName = "cwd", argName = "dir") @Description("Specifies the current working directory for this command, default set to the Java current directory") @Hidden public void setCwd(File cwd) { this.cwd = cwd; }
/** * Sets the user command executed during redeployment. * * @param command the on redeploy command * @deprecated Use 'on-redeploy' instead. It will be removed in vert.x 3.3 */ @Option(longName = "onRedeploy", argName = "cmd") @Description("Optional shell command executed when a redeployment is triggered (deprecated - will be removed in 3" + ".3, use 'on-redeploy' instead") @Hidden @Deprecated public void setOnRedeployCommandOld(String command) { out.println("[WARNING] the 'onRedeploy' option is deprecated, and will be removed in vert.x 3.3. Use " + "'on-redeploy' instead."); setOnRedeployCommand(command); }
@Option(longName = "count", shortName = "c") @Hidden public void setCount(int count) { this.count = count; }
@Hidden @Name("hidden") public class HiddenCommand extends DefaultCommand {
@Option(longName = "cache-file") @Hidden public void setCacheLocation(File cache) { this.cacheFile = cache; }
@Option(longName = "cache-file") @Hidden public void setCacheLocation(File cache) { this.cacheFile = cache; }
@Option(longName = "cache-file") @Hidden public void setCacheLocation(File cache) { this.cacheFile = cache; }