@Named @Singleton public class CommandExecutor extends Object
| Constructor and Description |
|---|
CommandExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(MavenModelControllerClientConfiguration configuration,
Commands commands)
Executes the commands and scripts provided.
|
void |
execute(MavenModelControllerClientConfiguration configuration,
Path wildflyHome,
Commands commands)
Executes the commands and scripts provided.
|
void |
execute(MavenModelControllerClientConfiguration configuration,
String wildflyHome,
Commands commands)
Executes the commands and scripts provided.
|
public void execute(MavenModelControllerClientConfiguration configuration, Commands commands) throws IOException
configuration - the configuration to use when connecting the CommandContextcommands - the commands to executeIOException - if an error occurs processing the commandspublic void execute(MavenModelControllerClientConfiguration configuration, Path wildflyHome, Commands commands) throws IOException
configuration - the configuration to use when connecting the CommandContextwildflyHome - the path to WildFly for setting the jboss.home.dir system property or null if
should not be setcommands - the commands to executeIOException - if an error occurs processing the commandspublic void execute(MavenModelControllerClientConfiguration configuration, String wildflyHome, Commands commands) throws IOException
configuration - the configuration to use when connecting the CommandContextwildflyHome - the path to WildFly for setting the jboss.home.dir system property or null if
should not be setcommands - the commands to executeIOException - if an error occurs processing the commandsCopyright © 2017 JBoss by Red Hat. All rights reserved.