public interface CliConfig
| Modifier and Type | Method and Description |
|---|---|
ControllerAddress |
getAliasedControllerAddress(String alias)
Obtain the
ControllerAddress for a given alias. |
int |
getConnectionTimeout()
Connection timeout period in milliseconds.
|
ControllerAddress |
getDefaultControllerAddress()
The default address of the controller from the configuration.
|
String |
getDefaultControllerHost()
Deprecated.
Use
getDefaultControllerAddress() instead. |
int |
getDefaultControllerPort()
Deprecated.
Use
getDefaultControllerAddress() instead. |
String |
getDefaultControllerProtocol()
The default server controller protocol for addresses where no protocol is specified.
|
String |
getHistoryFileDir()
The directory which contains the command and operation history file.
|
String |
getHistoryFileName()
The name of the command and operation history file.
|
int |
getHistoryMaxSize()
Maximum size of the history log.
|
SSLConfig |
getSslConfig()
The global SSL configuration if it has been defined.
|
boolean |
isAccessControl()
Whether the role based access control should be used
to check the availability of the commands (for tab-completion).
|
boolean |
isHistoryEnabled()
Whether the record the history of executed commands and operations.
|
boolean |
isResolveParameterValues()
Whether to resolve system properties specified as command argument
(or operation parameter) values before sending the operation request
to the controller or let the resolution happen on the server side.
|
boolean |
isSilent()
Whether the info or error messages should be written to the terminal output.
|
boolean |
isUseLegacyOverride()
If
true then for addresses specified without a protocol but with a port number of 9999 the
protocol should be assumed to be 'remoting://' |
boolean |
isValidateOperationRequests()
Whether the operation requests should be validated in terms of
addresses, operation names and parameters before they are
sent to the controller for execution.
|
@Deprecated String getDefaultControllerHost()
getDefaultControllerAddress() instead.@Deprecated int getDefaultControllerPort()
getDefaultControllerAddress() instead.String getDefaultControllerProtocol()
boolean isUseLegacyOverride()
true then for addresses specified without a protocol but with a port number of 9999 the
protocol should be assumed to be 'remoting://'ControllerAddress getDefaultControllerAddress()
ControllerAddress getAliasedControllerAddress(String alias)
ControllerAddress for a given alias.alias - - The alias if the address mapping.ControllerAddress if defined, otherwise nullboolean isHistoryEnabled()
String getHistoryFileName()
String getHistoryFileDir()
int getHistoryMaxSize()
int getConnectionTimeout()
SSLConfig getSslConfig()
boolean isValidateOperationRequests()
boolean isResolveParameterValues()
boolean isSilent()
boolean isAccessControl()
Copyright © 2014 JBoss by Red Hat. All rights reserved.