public class CommandConfiguration extends BaseCommandConfiguration
| Modifier and Type | Class and Description |
|---|---|
protected static class |
CommandConfiguration.AbstractBuilder<T extends CommandConfiguration.AbstractBuilder<T>> |
static class |
CommandConfiguration.Builder |
| Modifier | Constructor and Description |
|---|---|
protected |
CommandConfiguration(CommandConfiguration.AbstractBuilder<?> builder) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.as.controller.client.ModelControllerClient |
getClient()
Returns the management client.
|
MavenModelControllerClientConfiguration |
getClientConfiguration()
Returns the management client configuration.
|
boolean |
isFork()
Indicates whether or not CLI commands should be executed in a new
process.
|
boolean |
isOffline()
Indicates whether or not this should be an offline process.
|
static CommandConfiguration.Builder |
of(Supplier<org.jboss.as.controller.client.ModelControllerClient> clientSupplier,
Supplier<MavenModelControllerClientConfiguration> clientConfigurationSupplier)
Creates a new command configuration Builder.
|
getCLIArguments, getCommands, getJBossHome, getJvmOptions, getPropertiesFiles, getScripts, getStdout, getSystemProperties, getTimeout, isAppend, isBatch, isExpressionResolved, isFailOnErrorprotected CommandConfiguration(CommandConfiguration.AbstractBuilder<?> builder)
public static CommandConfiguration.Builder of(Supplier<org.jboss.as.controller.client.ModelControllerClient> clientSupplier, Supplier<MavenModelControllerClientConfiguration> clientConfigurationSupplier)
clientSupplier - the supplier used to get a management clientclientConfigurationSupplier - a supplier used to get the client
configurationpublic org.jboss.as.controller.client.ModelControllerClient getClient()
public MavenModelControllerClientConfiguration getClientConfiguration()
public boolean isFork()
true to execute CLI commands in a new processpublic boolean isOffline()
true if this should be an offline process, otherwise
falseCopyright © 2022 JBoss by Red Hat. All rights reserved.