| Package | Description |
|---|---|
| io.vertx.core.impl.launcher.commands | |
| io.vertx.core.spi.launcher | |
| io.vertx.ext.unit.impl |
| Modifier and Type | Method and Description |
|---|---|
void |
StartCommand.setApplicationId(String id)
Sets the "application id" that would be to stop the application and be lsited in the
list command. |
void |
ClasspathHandler.setClasspath(String classpath)
Sets the classpath.
|
void |
RunCommand.setCluster(boolean cluster)
Enables / disables the clustering.
|
void |
BareCommand.setClusterHost(String host)
Sets the cluster host.
|
void |
BareCommand.setClusterPort(int port)
Sets the cluster port.
|
void |
BareCommand.setClusterPublicHost(String host)
Sets the cluster public host.
|
void |
BareCommand.setClusterPublicPort(int port)
Sets the cluster public port.
|
void |
RunCommand.setConfig(String configuration)
The main verticle configuration, it can be a json file or a json string.
|
void |
BareCommand.setHAGroup(String group)
Sets the HA group name.
|
void |
RunCommand.setHighAvailability(boolean ha)
Enables / disables the high-availability.
|
void |
RunCommand.setInstances(int instances)
Sets the number of instance of the verticle to create.
|
void |
StartCommand.setJavaOptions(String options)
Sets the Java Virtual Machine options to pass to the spawned process.
|
void |
StartCommand.setLauncherClass(String clazz)
A hidden option to set the launcher class.
|
void |
RunCommand.setOnRedeployCommand(String command) |
void |
RunCommand.setOnRedeployCommandOld(String command)
Deprecated.
Use 'on-redeploy' instead. It will be removed in vert.x 3.3
|
void |
BareCommand.setQuorum(int quorum)
Sets the quorum option.
|
void |
StopCommand.setRedeploy(boolean redeploy) |
void |
RunCommand.setRedeploy(List<String> redeploy) |
void |
RunCommand.setRedeployGracePeriod(long period) |
void |
RunCommand.setRedeployScanPeriod(long period) |
void |
RunCommand.setRedeployStopWaitingTime(long period) |
void |
StartCommand.setRedirect(boolean redirect)
Whether or not the created process error streams and output streams needs to be redirected to the launcher process.
|
void |
BareCommand.setVertxOptions(String vertxOptions)
The Vert.x options, it can be a json file or a json string.
|
void |
RunCommand.setWorker(boolean worker)
Whether or not the verticle is deployed as a worker verticle.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCommand.setCwd(File cwd)
Sets the current working directory.
|
void |
DefaultCommand.setSystemProps(List<String> props)
Gets system properties passed in the user command line.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TestCommand.setReport(boolean report) |
void |
TestCommand.setTest(String test) |
void |
TestCommand.setTimeout(long timeout) |
Copyright © 2020. All rights reserved.