Package org.wildfly.plugin.cli
Class LocalCLIExecutor
java.lang.Object
org.wildfly.plugin.cli.LocalCLIExecutor
A CLI executor, resolving CLI artifact from Maven.
We can't have embedded/jboss modules in plugin classpath, it causes issue because we are
sharing the same jboss module classes between execution run inside the same
JVM.
- Author:
- jdenise
-
Constructor Summary
ConstructorsConstructorDescriptionLocalCLIExecutor
(Path jbossHome, boolean resolveExpression, org.jboss.galleon.universe.maven.repo.MavenRepoManager artifactResolver) -
Method Summary
Modifier and TypeMethodDescriptionvoid
bindClient
(org.jboss.as.controller.client.ModelControllerClient client) void
close()
void
void
executeBatch
(Collection<String> commands) void
executeCommands
(Iterable<String> commands, boolean failOnError) void
void
handleSafe
(String command)
-
Constructor Details
-
Method Details
-
bindClient
public void bindClient(org.jboss.as.controller.client.ModelControllerClient client) throws Exception - Throws:
Exception
-
executeBatch
- Throws:
Exception
-
executeCommands
- Throws:
Exception
-
handle
- Throws:
Exception
-
handleSafe
- Throws:
Exception
-
getOutput
-
close
- Throws:
Exception
-
execute
- Throws:
Exception
-