CliCommandBuilder |
CliCommandBuilder.addCliArgument(String arg) |
Adds an argument to be passed to the CLI command ignore the argument if null .
|
CliCommandBuilder |
CliCommandBuilder.addCliArguments(Iterable<String> args) |
Adds the arguments to the collection of arguments that will be passed to the CLI command ignoring any
null arguments.
|
CliCommandBuilder |
CliCommandBuilder.addCliArguments(String... args) |
Adds the arguments to the collection of arguments that will be passed to the CLI command ignoring any
null arguments.
|
CliCommandBuilder |
CliCommandBuilder.addJavaOption(String jvmArg) |
Adds a JVM argument to the command ignoring null arguments.
|
CliCommandBuilder |
CliCommandBuilder.addJavaOptions(Iterable<String> javaOpts) |
Adds the collection of JVM arguments to the command.
|
CliCommandBuilder |
CliCommandBuilder.addJavaOptions(String... javaOpts) |
Adds the array of JVM arguments to the command.
|
CliCommandBuilder |
CliCommandBuilder.addModuleDir(String moduleDir) |
Adds a directory to the collection of module paths.
|
CliCommandBuilder |
CliCommandBuilder.addModuleDirs(Iterable<String> moduleDirs) |
Adds all the module directories to the collection of module paths.
|
CliCommandBuilder |
CliCommandBuilder.addModuleDirs(String... moduleDirs) |
Adds all the module directories to the collection of module paths.
|
static CliCommandBuilder |
CliCommandBuilder.asJarLauncher(String wildflyHome) |
Creates a command builder for a non-modular CLI instance launched from wildflyHome/bin/client/jboss-client.jar.
|
static CliCommandBuilder |
CliCommandBuilder.asJarLauncher(Path wildflyHome) |
Creates a command builder for a non-modular CLI instance launched from wildflyHome/bin/client/jboss-client.jar.
|
static CliCommandBuilder |
CliCommandBuilder.asModularLauncher(String wildflyHome) |
Creates a command builder for a CLI instance.
|
static CliCommandBuilder |
CliCommandBuilder.asModularLauncher(Path wildflyHome) |
Creates a command builder for a CLI instance.
|
static CliCommandBuilder |
CliCommandBuilder.of(String wildflyHome) |
Creates a command builder for a modular CLI instance.
|
static CliCommandBuilder |
CliCommandBuilder.of(Path wildflyHome) |
Creates a command builder for a modular CLI instance.
|
CliCommandBuilder |
CliCommandBuilder.setCommand(String command) |
Sets the command to execute.
|
CliCommandBuilder |
CliCommandBuilder.setCommands(Iterable<String> commands) |
Sets the commands to execute.
|
CliCommandBuilder |
CliCommandBuilder.setCommands(String... commands) |
Sets the commands to execute.
|
CliCommandBuilder |
CliCommandBuilder.setConnection(String controller) |
Sets the hostname and port to connect to.
|
CliCommandBuilder |
CliCommandBuilder.setConnection(String hostname,
int port) |
Sets the hostname and port to connect to.
|
CliCommandBuilder |
CliCommandBuilder.setConnection(String protocol,
String hostname,
int port) |
Sets the protocol, hostname and port to connect to.
|
CliCommandBuilder |
CliCommandBuilder.setController(String controller) |
Sets the hostname and port to connect to.
|
CliCommandBuilder |
CliCommandBuilder.setController(String hostname,
int port) |
Sets the hostname and port to connect to.
|
CliCommandBuilder |
CliCommandBuilder.setController(String protocol,
String hostname,
int port) |
Sets the protocol, hostname and port to connect to.
|
CliCommandBuilder |
CliCommandBuilder.setJavaHome(String javaHome) |
Sets the Java home where the Java executable can be found.
|
CliCommandBuilder |
CliCommandBuilder.setJavaHome(Path javaHome) |
Sets the Java home where the Java executable can be found.
|
CliCommandBuilder |
CliCommandBuilder.setJavaOptions(Iterable<String> javaOpts) |
Sets the JVM arguments to use.
|
CliCommandBuilder |
CliCommandBuilder.setJavaOptions(String... javaOpts) |
Sets the JVM arguments to use.
|
CliCommandBuilder |
CliCommandBuilder.setModuleDirs(Iterable<String> moduleDirs) |
Replaces any previously set module directories with the collection of module directories.
|
CliCommandBuilder |
CliCommandBuilder.setModuleDirs(String... moduleDirs) |
Replaces any previously set module directories with the array of module directories.
|
CliCommandBuilder |
CliCommandBuilder.setPassword(String password) |
Sets the password to use when establishing a connection.
|
CliCommandBuilder |
CliCommandBuilder.setScriptFile(String path) |
Sets the path to the script file to execute.
|
CliCommandBuilder |
CliCommandBuilder.setScriptFile(Path path) |
Sets the path to the script file to execute.
|
CliCommandBuilder |
CliCommandBuilder.setTimeout(int timeout) |
Sets the timeout used when connecting to the server.
|
CliCommandBuilder |
CliCommandBuilder.setUseGui() |
Sets the command argument to use the GUI CLI client.
|
CliCommandBuilder |
CliCommandBuilder.setUser(String user) |
Sets the user to use when establishing a connection.
|