protected abstract static class CommandConfiguration.AbstractBuilder<T extends CommandConfiguration.AbstractBuilder<T>> extends BaseCommandConfiguration.AbstractBuilder<T>
| Modifier and Type | Method and Description |
|---|---|
CommandConfiguration |
build() |
T |
setFork(boolean fork)
Sets whether or not the commands should be executed in a new process.
|
T |
setOffline(boolean offline)
Sets whether a client should be associated with the CLI context.
|
addCLIArguments, addCommands, addJvmOptions, addPropertiesFiles, addScripts, addSystemProperties, builderInstance, setAppend, setBatch, setFailOnError, setJBossHome, setJBossHome, setResolveExpression, setStdout, setTimeoutpublic T setFork(boolean fork)
Note that is CommandConfiguration.isOffline() is set to true this has no
effect.
fork - true if commands should be executed in a new
processpublic T setOffline(boolean offline)
Note this launches CLI in a new process.
offline - true if this should be an offline processpublic CommandConfiguration build()
build in class BaseCommandConfiguration.AbstractBuilder<T extends CommandConfiguration.AbstractBuilder<T>>Copyright © 2022 JBoss by Red Hat. All rights reserved.