| Package | Description |
|---|---|
| org.wildfly.plugin.cli |
| Modifier and Type | Method and Description |
|---|---|
CommandConfiguration |
CommandConfiguration.addCLIArguments(String... arguments)
|
CommandConfiguration |
CommandConfiguration.addCommands(Collection<String> commands)
Adds the commands to the CLI commands that should be executed.
|
CommandConfiguration |
CommandConfiguration.addJvmOptions(String... jvmOptions)
|
CommandConfiguration |
CommandConfiguration.addPropertiesFiles(Collection<File> propertiesFiles)
Adds the properties files to use when executing CLI scripts or commands.
|
CommandConfiguration |
CommandConfiguration.addScripts(Collection<File> scripts)
Adds the scripts to be executed.
|
CommandConfiguration |
CommandConfiguration.addSystemProperties(Map<String,String> systemProperties)
Adds to the system properties to set before the CLI commands are executed.
|
static CommandConfiguration |
CommandConfiguration.of(Supplier<org.jboss.as.controller.client.ModelControllerClient> clientSupplier,
Supplier<MavenModelControllerClientConfiguration> clientConfigurationSupplier)
Creates a new command configuration.
|
CommandConfiguration |
CommandConfiguration.setAppend(boolean append)
If true append output to file, otherwise a new file is created.
|
CommandConfiguration |
CommandConfiguration.setBatch(boolean batch)
Sets whether or not the commands should be executed in a batch or not.
|
CommandConfiguration |
CommandConfiguration.setFailOnError(boolean failOnError)
Sets whether or not CLI commands should fail if the command ends in an error or not.
|
CommandConfiguration |
CommandConfiguration.setFork(boolean fork)
Sets whether or not the commands should be executed in a new process.
|
CommandConfiguration |
CommandConfiguration.setJBossHome(Path jbossHome)
Sets the JBoss Home directory.
|
CommandConfiguration |
CommandConfiguration.setJBossHome(String jbossHome)
Sets the JBoss Home directory.
|
CommandConfiguration |
CommandConfiguration.setOffline(boolean offline)
Sets whether a client should be associated with the CLI context.
|
CommandConfiguration |
CommandConfiguration.setResolveExpression(boolean resolveExpression)
If true resolve expression prior to send the operation to the server
|
CommandConfiguration |
CommandConfiguration.setStdout(String stdout)
|
CommandConfiguration |
CommandConfiguration.setTimeout(int timeout)
Sets the timeout, in seconds, used for the management client connection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CommandExecutor.execute(CommandConfiguration config,
org.jboss.galleon.universe.maven.repo.MavenRepoManager artifactResolver)
Executes CLI commands based on the configuration.
|
Copyright © 2021 JBoss by Red Hat. All rights reserved.