[
https://issues.jboss.org/browse/WFLY-4440?page=com.atlassian.jira.plugin....
]
Alexey Loubyansky commented on WFLY-4440:
-----------------------------------------
Let's figure out your needs and find a way to do what you want properly. Because
CommandContextImpl is an implementation detail which may change any day and your code will
be broken. If you want to rely on something, public API is the supported contract.
Is what I wrote in my previous comment not enough or not good enough?
CLI: Log or store results (ModelNode) in batch commands
-------------------------------------------------------
Key: WFLY-4440
URL:
https://issues.jboss.org/browse/WFLY-4440
Project: WildFly
Issue Type: Bug
Components: CLI
Reporter: Martin Basovnik
Assignee: Alexey Loubyansky
Labels: cli, log
Non-batch commands are logged with method {{ctx.printLine(result.toString());}}
https://github.com/wildfly/wildfly-core/blob/master/cli/src/main/java/org...
Log also batch commands, e.g.
https://github.com/wildfly/wildfly-core/blob/master/cli/src/main/java/org...
Or use a mechanism to store the last result. I use your API and it would be usefull for
me.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)