public class StartCommand extends DefaultCommand
executionContext, out, systemProperties| Constructor and Description |
|---|
StartCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Starts the application in background.
|
void |
setApplicationId(String id)
Sets the "application id" that would be to stop the application and be lsited in the
list command. |
void |
setJavaOptions(String options)
Sets the Java Virtual Machine options to pass to the spawned process.
|
void |
setLauncherClass(String clazz)
A hidden option to set the launcher class.
|
void |
setRedirect(boolean redirect)
Whether or not the created process error streams and output streams needs to be redirected to the launcher process.
|
applySystemProperties, getCwd, out, setCwd, setSystemProps, setUp, tearDownpublic void setApplicationId(String id)
list command.id - the idpublic void setJavaOptions(String options)
options - the jvm optionspublic void setLauncherClass(String clazz)
clazz - the classpublic void setRedirect(boolean redirect)
redirect - true to enable redirection, false otherwisepublic void run()
Copyright © 2020. All rights reserved.