@Named @Singleton public class CommandExecutor extends Object
| Constructor and Description |
|---|
CommandExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(org.jboss.as.controller.client.ModelControllerClient client,
Commands commands)
Executes the commands and scripts provided.
|
void |
execute(org.jboss.as.controller.client.ModelControllerClient client,
Path wildflyHome,
Commands commands)
Executes the commands and scripts provided.
|
void |
execute(org.jboss.as.controller.client.ModelControllerClient client,
String wildflyHome,
Commands commands)
Executes the commands and scripts provided.
|
public void execute(org.jboss.as.controller.client.ModelControllerClient client,
Commands commands)
throws IOException
client - the client usecommands - the commands to executeIOException - if an error occurs processing the commandspublic void execute(org.jboss.as.controller.client.ModelControllerClient client,
Path wildflyHome,
Commands commands)
throws IOException
client - the client usewildflyHome - 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(org.jboss.as.controller.client.ModelControllerClient client,
String wildflyHome,
Commands commands)
throws IOException
client - the client usewildflyHome - 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 © 2016 JBoss by Red Hat. All rights reserved.