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