@Singleton
@Named
public class CommandExecutor
extends org.codehaus.plexus.logging.AbstractLogEnabled
| Constructor and Description |
|---|
CommandExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(CommandConfiguration config)
Executes CLI commands based on the configuration.
|
public void execute(CommandConfiguration config) throws org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException
config - the configuration used to execute the CLI commandsorg.apache.maven.plugin.MojoFailureException - if the JBoss Home directory is required and invalidorg.apache.maven.plugin.MojoExecutionException - if an error occurs executing the CLI commandsCopyright © 2019 JBoss by Red Hat. All rights reserved.