@Named @Singleton public class OfflineCLIExecutor extends Object
| Constructor and Description |
|---|
OfflineCLIExecutor() |
| Modifier and Type | Method and Description |
|---|---|
int |
execute(String wildflyHome,
Commands commands,
org.apache.maven.plugin.logging.Log log,
OutputStream stdout,
Map<String,String> systemProperties,
String[] javaOpts)
Executes the commands and scripts provided.
|
public int execute(String wildflyHome, Commands commands, org.apache.maven.plugin.logging.Log log, OutputStream stdout, Map<String,String> systemProperties, String[] javaOpts) throws IOException
wildflyHome - the path to WildFly for setting the jboss.home.dir system property or null if
should not be setcommands - the commands to executelog - the logger to usestdout - the output stream to write standard output tosystemProperties - the system properties to launch the CLI process withjavaOpts - the options to pass to the offline processIOException - if an error occurs processing the commandsCopyright © 2017 JBoss by Red Hat. All rights reserved.