Book: Management CLI Guide
Chapter: Probably new chapter
In EAP 7.1 cli has new ability to use not (!) operator to for the boolean atributes. It is no longer required to set up true/false value of the attribute, instead boolean atribute is evaluated as true if present in the command, and as false if !attribute is present in the command.
Example:
[standalone@localhost:9990 /] /subsystem=undertow:read-resource(!resolve-expressions) { "outcome" => "success", "result" => { "default-security-domain" => "other", "default-server" => "default-server", "default-servlet-container" => "default", "default-virtual-host" => "default-host", "instance-id" => expression "${jboss.node.name}", "statistics-enabled" => false, "application-security-domain" => undefined, "buffer-cache" => {"default" => undefined}, "configuration" => { "filter" => undefined, "handler" => undefined }, "server" => {"default-server" => undefined}, "servlet-container" => {"default" => undefined} } } [standalone@localhost:9990 /] /subsystem=undertow:read-resource(resolve-expressions) { "outcome" => "success", "result" => { "default-security-domain" => "other", "default-server" => "default-server", "default-servlet-container" => "default", "default-virtual-host" => "default-host", "instance-id" => "localhost", "statistics-enabled" => false, "application-security-domain" => undefined, "buffer-cache" => {"default" => undefined}, "configuration" => { "filter" => undefined, "handler" => undefined }, "server" => {"default-server" => undefined}, "servlet-container" => {"default" => undefined} } }
- is duplicated by
-
JBEAP-7479 Boolean tab completion is not described in documentation
- Closed
- relates to
-
WFCORE-1514 CLI to support not operator for boolean values
- Resolved
-
WFCORE-1472 Boolean value could become optional
- Resolved