public class LocalCLIExecutor extends Object
| Constructor and Description |
|---|
LocalCLIExecutor(Path jbossHome,
boolean resolveExpression,
org.jboss.galleon.universe.maven.repo.MavenRepoManager artifactResolver) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindClient(org.jboss.as.controller.client.ModelControllerClient client) |
void |
close() |
void |
execute(List<String> commands) |
void |
executeBatch(Collection<String> commands) |
void |
executeCommands(Iterable<String> commands,
boolean failOnError) |
String |
getOutput() |
void |
handle(String command) |
void |
handleSafe(String command) |
public void bindClient(org.jboss.as.controller.client.ModelControllerClient client)
throws Exception
Exceptionpublic void executeBatch(Collection<String> commands) throws Exception
Exceptionpublic void executeCommands(Iterable<String> commands, boolean failOnError) throws Exception
Exceptionpublic String getOutput()
Copyright © 2021 JBoss by Red Hat. All rights reserved.