Modifier and Type | Method and Description |
---|---|
String |
getCliCommand()
Return the original command as a String.
|
org.jboss.dmr.ModelNode |
getRequest()
If the command resulted in a server-side operation, return the
ModelNode representation of the operation.
|
org.jboss.dmr.ModelNode |
getResponse()
If the command resulted in a server-side operation, return the
ModelNode representation of the response.
|
boolean |
isLocalCommand()
Return true if the command was only executed locally and did not
result in a server-side operation.
|
boolean |
isSuccess()
Return true if the command was successful.
|
public String getCliCommand()
public org.jboss.dmr.ModelNode getRequest()
null
if this was
a local command.public org.jboss.dmr.ModelNode getResponse()
null
if
this was a local command.public boolean isSuccess()
true
if the command was successful,
false
otherwise.public boolean isLocalCommand()
true
if the command was only executed locally,
false
otherwise.Copyright © 2023 JBoss by Red Hat. All rights reserved.