| Modifier and Type | Method and Description |
|---|---|
abstract CommandContext |
CommandContextFactory.newCommandContext() |
abstract CommandContext |
CommandContextFactory.newCommandContext(CommandContextConfiguration configuration) |
abstract CommandContext |
CommandContextFactory.newCommandContext(String username,
char[] password) |
abstract CommandContext |
CommandContextFactory.newCommandContext(String controllerHost,
int controllerPort,
String username,
char[] password)
Deprecated.
|
abstract CommandContext |
CommandContextFactory.newCommandContext(String controllerHost,
int controllerPort,
String username,
char[] password,
boolean initConsole,
int connectionTimeout)
Deprecated.
|
abstract CommandContext |
CommandContextFactory.newCommandContext(String controllerHost,
int controllerPort,
String username,
char[] password,
InputStream consoleInput,
OutputStream consoleOutput)
Deprecated.
|
abstract CommandContext |
CommandContextFactory.newCommandContext(String controller,
String username,
char[] password) |
abstract CommandContext |
CommandContextFactory.newCommandContext(String controller,
String username,
char[] password,
boolean disableLocalAuth,
boolean initConsole,
int connectionTimeout)
Deprecated.
|
abstract CommandContext |
CommandContextFactory.newCommandContext(String controller,
String username,
char[] password,
boolean initConsole,
int connectionTimeout)
Deprecated.
|
abstract CommandContext |
CommandContextFactory.newCommandContext(String controller,
String username,
char[] password,
InputStream consoleInput,
OutputStream consoleOutput) |
| Modifier and Type | Method and Description |
|---|---|
void |
CommandCompleter.addAllCommandNames(CommandContext ctx,
org.aesh.complete.AeshCompleteOperation op) |
default OperationCommand.HandledRequest |
OperationCommand.buildHandledRequest(CommandContext ctx,
Attachments attachments) |
org.jboss.dmr.ModelNode |
OperationCommand.buildRequest(CommandContext ctx) |
default org.jboss.dmr.ModelNode |
OperationCommand.buildRequest(CommandContext ctx,
Attachments attachments) |
static org.jboss.dmr.ModelNode |
Util.buildRequest(CommandContext ctx,
OperationRequestAddress address,
String operation) |
boolean |
CommandArgument.canAppearNext(CommandContext ctx)
Checks whether the argument can appear on the command
given the already present arguments.
|
void |
CliEventListener.cliEvent(CliEvent event,
CommandContext ctx) |
void |
CommandCompleter.complete(CommandContext ctx,
DefaultCallbackHandler parsedCmd,
org.aesh.complete.AeshCompleteOperation op) |
int |
CommandCompleter.complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
int |
CommandLineCompleter.complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
static void |
Util.configureColors(CommandContext ctx) |
CommandHandler |
CommandHandlerProvider.createCommandHandler(CommandContext ctx) |
protected abstract org.jboss.dmr.ModelNode |
ArgumentValueConverter.DMRWithFallbackConverter.fromNonDMRString(CommandContext ctx,
String value) |
org.jboss.dmr.ModelNode |
ArgumentValueConverter.fromString(CommandContext ctx,
String value) |
org.jboss.dmr.ModelNode |
ArgumentValueConverter.DMRWithFallbackConverter.fromString(CommandContext ctx,
String value) |
CommandArgument |
CommandHandler.getArgument(CommandContext ctx,
String name)
Returns command argument declared by the command handler
corresponding to the argument name.
|
Collection<CommandArgument> |
CommandHandler.getArguments(CommandContext ctx)
Returns a collection of the command arguments the handler supports in the current context.
|
static List<String> |
Util.getOperationNames(CommandContext ctx,
OperationRequestAddress prefix) |
static String |
Util.getResult(CommandContext cmdCtx,
String cmd) |
static String |
Util.getRunningMode(CommandContext ctx) |
void |
CommandHandler.handle(CommandContext ctx)
Executes the command.
|
void |
CommandLineRedirection.handle(CommandContext ctx)
As the user enters a new command line, the command line is parsed
and, if there were no parsing errors, this method is invoked.
|
boolean |
CommandHandler.hasArgument(CommandContext ctx,
int index)
Checks whether the command handler accepts an argument with the specified index.
|
boolean |
CommandHandler.hasArgument(CommandContext ctx,
String name)
Checks whether the command handler recognizes the argument by the name.
|
boolean |
CommandHandler.isAvailable(CommandContext ctx)
Checks whether the command is available in the current context
(e.g.
|
boolean |
CommandHandler.isBatchMode(CommandContext ctx)
Whether the command supports batch mode or not.
|
static boolean |
Util.reconnectContext(org.xnio.http.RedirectException re,
CommandContext ctx)
Reconnect the context if the RedirectException is valid.
|
static org.jboss.dmr.ModelNode |
Util.toOperationRequest(CommandContext ctx,
ParsedCommandLine parsedLine) |
static org.jboss.dmr.ModelNode |
Util.toOperationRequest(CommandContext ctx,
ParsedCommandLine parsedLine,
Attachments attachments) |
static org.jboss.dmr.ModelNode |
Util.validateRequest(CommandContext ctx,
org.jboss.dmr.ModelNode request) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AllRequiredSet.checkAccess(CommandContext ctx) |
protected boolean |
PerNodeOperationAccess.checkAccess(CommandContext ctx) |
protected boolean |
ControllerModeAccess.checkAccess(CommandContext ctx) |
protected boolean |
MainOperationAccessRequirement.checkAccess(CommandContext ctx) |
protected abstract boolean |
BaseAccessRequirement.checkAccess(CommandContext ctx) |
protected boolean |
AnyRequiredSet.checkAccess(CommandContext ctx) |
protected boolean |
HostServerOperationAccess.checkAccess(CommandContext ctx) |
void |
BaseAccessRequirement.cliEvent(CliEvent event,
CommandContext ctx) |
protected void |
HostServerOperationAccess.completeAccessCheck(CommandContext ctx) |
static AccessRequirementBuilder |
AccessRequirementBuilder.Factory.create(CommandContext ctx) |
Collection<String> |
HostServerOperationAccess.getAllowedHosts(CommandContext ctx) |
List<String> |
PerNodeOperationAccess.getAllowedOn(CommandContext ctx) |
Collection<String> |
HostServerOperationAccess.getAllowedServers(CommandContext ctx,
String host) |
protected void |
HostServerOperationAccess.initAllowedLists(CommandContext ctx) |
boolean |
AccessRequirement.isSatisfied(CommandContext ctx) |
boolean |
BaseAccessRequirement.isSatisfied(CommandContext ctx) |
| Constructor and Description |
|---|
HostServerOperationAccess(CommandContext ctx,
String address,
String operation) |
PerNodeOperationAccess(CommandContext ctx,
String nodeType,
String address,
String operation) |
| Modifier and Type | Method and Description |
|---|---|
CommandContext |
BatchedCommand.getCommandContext() |
| Modifier and Type | Method and Description |
|---|---|
CommandContext |
DefaultBatchedCommand.getCommandContext() |
| Constructor and Description |
|---|
DefaultBatchedCommand(CommandContext ctx,
String command,
org.jboss.dmr.ModelNode request,
ResponseHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
static AtomicReference<EmbeddedProcessLaunch> |
EmbeddedControllerHandlerRegistrar.registerEmbeddedCommands(CommandRegistry commandRegistry,
CommandContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
CommandContext |
CliGuiContext.getCommmandContext()
Get the command context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JConsoleCLIPlugin.init(CommandContext cmdCtx) |
static void |
GuiMain.start(CommandContext cmdCtx) |
static CliGuiContext |
GuiMain.startEmbedded(CommandContext cmdCtx,
Supplier<ModelControllerClient> client) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
DeploymentHandler.activateNewBatch(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
DeploymentOverlayHandler.add(CommandContext ctx,
boolean stream) |
protected void |
DeploymentOverlayHandler.addAddRedeployLinksSteps(CommandContext ctx,
org.jboss.dmr.ModelNode steps,
String overlay,
String serverGroup,
String[] links,
boolean regexp) |
protected void |
BaseOperationCommand.addHeaders(CommandContext ctx,
org.jboss.dmr.ModelNode request) |
protected void |
PrefixHandler.assertValid(CommandContext ctx,
OperationRequestAddress addr) |
OperationCommand.HandledRequest |
AttachmentHandler.buildHandledRequest(CommandContext ctx,
Attachments attachments) |
protected org.jboss.dmr.ModelNode |
ResourceCompositeOperationHandler.buildOperationAddress(CommandContext ctx) |
org.jboss.dmr.ModelNode |
BaseOperationCommand.buildRequest(CommandContext ctx) |
org.jboss.dmr.ModelNode |
OperationRequestHandler.buildRequest(CommandContext ctx) |
org.jboss.dmr.ModelNode |
ReadOperationHandler.buildRequestWithoutHeaders(CommandContext ctx) |
protected abstract org.jboss.dmr.ModelNode |
BaseOperationCommand.buildRequestWithoutHeaders(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
AttachmentHandler.buildRequestWithoutHeaders(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
ReloadHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
DeployHandler.buildRequestWithoutHeaders(CommandContext ctx)
Deprecated.
|
org.jboss.dmr.ModelNode |
UndeployHandler.buildRequestWithoutHeaders(CommandContext ctx)
Deprecated.
|
org.jboss.dmr.ModelNode |
ReadAttributeHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
GenericTypeOperationHandler.buildRequestWithoutHeaders(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
ShutdownHandler.buildRequestWithoutHeaders(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
ResourceCompositeOperationHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
ArchiveHandler.buildRequestWithoutHeaders(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
DeploymentOverlayHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
DeploymentInfoHandler.buildRequestWithoutHeaders(CommandContext ctx)
Deprecated.
|
protected org.jboss.dmr.ModelNode |
LsHandler.buildRequestWithoutHeaders(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
BaseOperationCommand.buildRequestWOValidation(CommandContext ctx) |
void |
BaseOperationCommand.cliEvent(CliEvent event,
CommandContext ctx) |
void |
GenericTypeOperationHandler.cliEvent(CliEvent event,
CommandContext ctx) |
int |
FilenameTabCompleter.complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
int |
SimpleTabCompleter.complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
protected void |
DeploymentHandler.discardBatch(CommandContext ctx,
String holdbackBatch) |
void |
CommandHandlerWithHelp.displayHelp(CommandContext ctx) |
protected void |
BaseOperationCommand.displayResponseHeaders(CommandContext ctx,
org.jboss.dmr.ModelNode response) |
protected void |
UnsetVariableHandler.doHandle(CommandContext ctx) |
protected void |
BaseOperationCommand.doHandle(CommandContext ctx) |
protected void |
CommandCommandHandler.doHandle(CommandContext ctx) |
protected void |
SetVariableHandler.doHandle(CommandContext ctx) |
protected void |
CommandTimeoutHandler.doHandle(CommandContext ctx) |
protected void |
PrefixHandler.doHandle(CommandContext ctx) |
protected void |
ReloadHandler.doHandle(CommandContext ctx) |
protected void |
DeployHandler.doHandle(CommandContext ctx)
Deprecated.
|
protected void |
QuitHandler.doHandle(CommandContext ctx) |
protected void |
HistoryHandler.doHandle(CommandContext ctx) |
protected void |
ClearScreenHandler.doHandle(CommandContext ctx) |
protected void |
UndeployHandler.doHandle(CommandContext ctx)
Deprecated.
|
protected void |
ShutdownHandler.doHandle(CommandContext ctx) |
protected void |
ConnectionInfoHandler.doHandle(CommandContext ctx) |
protected void |
EchoVariableHandler.doHandle(CommandContext ctx) |
protected void |
ArchiveHandler.doHandle(CommandContext ctx) |
protected abstract void |
CommandHandlerWithHelp.doHandle(CommandContext ctx) |
protected void |
EchoDMRHandler.doHandle(CommandContext ctx) |
protected void |
PrintWorkingNodeHandler.doHandle(CommandContext ctx) |
protected void |
DeploymentOverlayHandler.doHandle(CommandContext ctx) |
protected void |
GenericTypeOperationHandler.formatProperty(CommandContext ctx,
String argName,
CharSequence descr) |
protected StringBuilder |
ReadAttributeHandler.formatResponse(CommandContext ctx,
org.jboss.dmr.ModelNode opResponse,
boolean composite,
StringBuilder buf) |
protected StringBuilder |
GenericTypeOperationHandler.formatResponse(CommandContext ctx,
org.jboss.dmr.ModelNode opResponse,
boolean composite,
StringBuilder buf) |
protected void |
GenericTypeOperationHandler.formatText(CommandContext ctx,
CharSequence text,
int offset) |
protected OperationRequestAddress |
ReadOperationHandler.getAddress(CommandContext ctx) |
protected OperationRequestAddress |
ReadAttributeHandler.getAddress(CommandContext ctx,
boolean completion) |
protected Map<String,CommandArgument> |
ResourceCompositeOperationHandler.getAllArguments(CommandContext ctx) |
CommandArgument |
CommandHandlerWithArguments.getArgument(CommandContext ctx,
String name) |
CommandArgument |
GenericTypeOperationHandler.getArgument(CommandContext ctx,
String name) |
CommandArgument |
ResourceCompositeOperationHandler.getArgument(CommandContext ctx,
String name) |
CommandArgument |
OperationRequestHandler.getArgument(CommandContext ctx,
String name) |
Collection<CommandArgument> |
CommandHandlerWithArguments.getArguments(CommandContext ctx) |
Collection<CommandArgument> |
GenericTypeOperationHandler.getArguments(CommandContext ctx) |
Collection<CommandArgument> |
ResourceCompositeOperationHandler.getArguments(CommandContext ctx) |
List<CommandArgument> |
OperationRequestHandler.getArguments(CommandContext ctx) |
Collection<CommandArgument> |
LsHandler.getArguments(CommandContext ctx) |
protected Map<String,CommandArgument> |
CommandHandlerWithArguments.getArgumentsMap(CommandContext ctx) |
protected Map<String,CommandArgument> |
LsHandler.getArgumentsMap(CommandContext ctx) |
protected Attachments |
BaseOperationCommand.getAttachments(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
DeploymentHandler.getDeploymentDescriptions(CommandContext ctx,
List<String> names) |
protected List<org.jboss.dmr.Property> |
CommandCommandHandler.getNodeProperties(CommandContext ctx) |
protected Iterator<org.jboss.as.cli.handlers.GenericTypeOperationHandler.AttributeDescription> |
GenericTypeOperationHandler.getNodeProperties(CommandContext ctx) |
protected Map<String,ArgumentWithValue> |
ResourceCompositeOperationHandler.getOperationArguments(CommandContext ctx,
String opName) |
org.jboss.dmr.ModelNode |
OperationDescriptionProvider.getOperationDescription(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
GenericTypeOperationHandler.getOperationDescription(CommandContext ctx,
String operationName) |
protected org.jboss.dmr.ModelNode |
ResourceCompositeOperationHandler.getOperationDescription(CommandContext ctx,
String operationName) |
protected List<String> |
DeploymentOverlayHandler.getServerGroupsToLink(CommandContext ctx) |
protected List<String> |
GenericTypeOperationHandler.getSupportedCommands(CommandContext ctx) |
void |
CommandHandlerWithHelp.handle(CommandContext ctx) |
void |
OperationRequestHandler.handle(CommandContext ctx) |
protected void |
BaseOperationCommand.handleAttachedFile(CommandContext ctx,
OperationResponse operationResponse) |
protected void |
ReadOperationHandler.handleResponse(CommandContext ctx,
org.jboss.dmr.ModelNode response,
boolean composite) |
protected void |
BaseOperationCommand.handleResponse(CommandContext ctx,
org.jboss.dmr.ModelNode response,
boolean composite) |
protected void |
ReadAttributeHandler.handleResponse(CommandContext ctx,
org.jboss.dmr.ModelNode response,
boolean composite) |
protected void |
GenericTypeOperationHandler.handleResponse(CommandContext ctx,
org.jboss.dmr.ModelNode opResponse,
boolean composite) |
protected void |
DeploymentInfoHandler.handleResponse(CommandContext ctx,
org.jboss.dmr.ModelNode response,
boolean composite)
Deprecated.
|
protected void |
LsHandler.handleResponse(CommandContext ctx,
org.jboss.dmr.ModelNode outcome,
boolean composite) |
protected void |
BaseOperationCommand.handleResponse(CommandContext ctx,
OperationResponse response,
boolean composite) |
protected void |
AttachmentHandler.handleResponse(CommandContext ctx,
OperationResponse response,
boolean composite) |
boolean |
CommandHandlerWithArguments.hasArgument(CommandContext ctx,
int index) |
boolean |
GenericTypeOperationHandler.hasArgument(CommandContext ctx,
int index) |
boolean |
OperationRequestHandler.hasArgument(CommandContext ctx,
int index) |
boolean |
CommandHandlerWithArguments.hasArgument(CommandContext ctx,
String name) |
boolean |
GenericTypeOperationHandler.hasArgument(CommandContext ctx,
String name) |
boolean |
OperationRequestHandler.hasArgument(CommandContext ctx,
String name) |
protected org.jboss.dmr.ModelNode |
CommandCommandHandler.initRequest(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
GenericTypeOperationHandler.initRequest(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
ResourceCompositeOperationHandler.initRequest(CommandContext ctx) |
protected boolean |
BaseOperationCommand.isAddressValid(CommandContext ctx) |
boolean |
BaseOperationCommand.isAvailable(CommandContext ctx) |
boolean |
ShutdownHandler.isAvailable(CommandContext ctx) |
boolean |
CommandHandlerWithHelp.isAvailable(CommandContext ctx) |
boolean |
OperationRequestHandler.isAvailable(CommandContext ctx) |
boolean |
CommandHandlerWithHelp.isBatchMode(CommandContext ctx) |
boolean |
BatchModeCommandHandler.isBatchMode(CommandContext ctx) |
boolean |
DeploymentOverlayHandler.isBatchMode(CommandContext ctx) |
boolean |
OperationRequestHandler.isBatchMode(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
DeploymentOverlayHandler.link(CommandContext ctx) |
protected void |
DeploymentOverlayHandler.listContent(CommandContext ctx) |
protected void |
DeploymentHandler.listDeployments(CommandContext ctx,
boolean l) |
protected void |
DeploymentOverlayHandler.listLinks(CommandContext ctx) |
protected Map<String,CommandArgument> |
ResourceCompositeOperationHandler.loadArguments(CommandContext ctx) |
static FilenameTabCompleter |
FilenameTabCompleter.newCompleter(CommandContext ctx) |
void |
GenericTypeOperationHandler.printDescription(CommandContext ctx) |
protected void |
GenericTypeOperationHandler.printHelp(CommandContext ctx) |
protected void |
CommandHandlerWithHelp.printHelp(CommandContext ctx) |
protected void |
CommandHandlerWithHelp.printList(CommandContext ctx,
Collection<String> list,
boolean l)
Prints a list of strings.
|
protected void |
GenericTypeOperationHandler.printNodeDescription(CommandContext ctx) |
protected void |
GenericTypeOperationHandler.printProperties(CommandContext ctx,
Iterator<org.jboss.as.cli.handlers.GenericTypeOperationHandler.AttributeDescription> props) |
protected void |
GenericTypeOperationHandler.printSupportedCommands(CommandContext ctx) |
protected void |
UnsetVariableHandler.recognizeArguments(CommandContext ctx) |
protected void |
SetVariableHandler.recognizeArguments(CommandContext ctx) |
protected void |
AttachmentHandler.recognizeArguments(CommandContext ctx) |
protected void |
CommandHandlerWithArguments.recognizeArguments(CommandContext ctx) |
protected void |
ReadAttributeHandler.recognizeArguments(CommandContext ctx) |
protected void |
GenericTypeOperationHandler.recognizeArguments(CommandContext ctx) |
protected void |
ResourceCompositeOperationHandler.recognizeArguments(CommandContext ctx) |
protected void |
EchoVariableHandler.recognizeArguments(CommandContext ctx) |
protected void |
EchoDMRHandler.recognizeArguments(CommandContext ctx) |
protected void |
LsHandler.recognizeArguments(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
DeploymentOverlayHandler.redeployAffected(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
DeploymentOverlayHandler.remove(CommandContext ctx) |
protected void |
BaseOperationCommand.setParams(CommandContext ctx,
org.jboss.dmr.ModelNode request) |
protected AccessRequirement |
BaseOperationCommand.setupAccessRequirement(CommandContext ctx) |
protected AccessRequirement |
ReloadHandler.setupAccessRequirement(CommandContext ctx) |
protected AccessRequirement |
DeployHandler.setupAccessRequirement(CommandContext ctx)
Deprecated.
|
protected AccessRequirement |
UndeployHandler.setupAccessRequirement(CommandContext ctx)
Deprecated.
|
protected AccessRequirement |
ShutdownHandler.setupAccessRequirement(CommandContext ctx) |
protected AccessRequirement |
DeploymentOverlayHandler.setupAccessRequirement(CommandContext ctx) |
protected AccessRequirement |
DeploymentInfoHandler.setupAccessRequirement(CommandContext ctx)
Deprecated.
|
protected org.jboss.dmr.ModelNode |
DeploymentOverlayHandler.upload(CommandContext ctx,
boolean stream) |
protected void |
CommandCommandHandler.validateInput(CommandContext ctx,
String typePath,
String propertyName) |
| Modifier and Type | Method and Description |
|---|---|
protected org.jboss.dmr.ModelNode |
BatchRunHandler.buildRequestWithoutHeaders(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
BatchRunHandler.buildRequestWOValidation(CommandContext ctx) |
protected void |
BatchHandler.doHandle(CommandContext ctx) |
protected void |
BatchMoveLineHandler.doHandle(CommandContext ctx) |
protected void |
BatchEditLineHandler.doHandle(CommandContext ctx) |
protected void |
BatchRemoveLineHandler.doHandle(CommandContext ctx) |
protected void |
BatchHoldbackHandler.doHandle(CommandContext ctx) |
protected void |
BatchDiscardHandler.doHandle(CommandContext ctx) |
protected void |
BatchRunHandler.doHandle(CommandContext ctx) |
protected void |
BatchListHandler.doHandle(CommandContext ctx) |
protected void |
BatchClearHandler.doHandle(CommandContext ctx) |
Attachments |
BatchRunHandler.getAttachments(CommandContext ctx) |
protected void |
BatchRunHandler.handleResponse(CommandContext ctx,
org.jboss.dmr.ModelNode response,
boolean composite) |
boolean |
BatchMoveLineHandler.hasArgument(CommandContext ctx,
int index) |
boolean |
BatchEditLineHandler.hasArgument(CommandContext ctx,
int index)
It has to accept everything since we don't know what kind of command will be edited.
|
boolean |
BatchRemoveLineHandler.hasArgument(CommandContext ctx,
int index) |
boolean |
BatchEditLineHandler.hasArgument(CommandContext ctx,
String name) |
boolean |
BatchMoveLineHandler.isAvailable(CommandContext ctx) |
boolean |
BatchEditLineHandler.isAvailable(CommandContext ctx) |
boolean |
BatchRemoveLineHandler.isAvailable(CommandContext ctx) |
boolean |
BatchHoldbackHandler.isAvailable(CommandContext ctx) |
boolean |
BatchDiscardHandler.isAvailable(CommandContext ctx) |
boolean |
BatchListHandler.isAvailable(CommandContext ctx) |
boolean |
BatchClearHandler.isAvailable(CommandContext ctx) |
protected void |
BatchEditLineHandler.recognizeArguments(CommandContext ctx) |
| Constructor and Description |
|---|
BatchHandler(CommandContext ctx) |
BatchRunHandler(CommandContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ElseHandler.doHandle(CommandContext ctx) |
protected void |
EndIfHandler.doHandle(CommandContext ctx) |
protected void |
IfHandler.doHandle(CommandContext ctx) |
boolean |
IfHandler.hasArgument(CommandContext ctx,
int index)
It has to accept everything since we don't know what kind of command will be edited.
|
boolean |
IfHandler.hasArgument(CommandContext ctx,
String name) |
boolean |
ElseHandler.isAvailable(CommandContext ctx) |
boolean |
EndIfHandler.isAvailable(CommandContext ctx) |
boolean |
IfHandler.isAvailable(CommandContext ctx) |
Object |
Operand.resolveValue(CommandContext ctx,
org.jboss.dmr.ModelNode response) |
Object |
ModelNodePathOperand.resolveValue(CommandContext ctx,
org.jboss.dmr.ModelNode response) |
Object |
StringValueOperand.resolveValue(CommandContext ctx,
org.jboss.dmr.ModelNode response) |
| Modifier and Type | Method and Description |
|---|---|
protected org.jboss.dmr.ModelNode |
DataSourceAddCompositeHandler.buildRequestWithoutHeaders(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
JDBCDriverInfoHandler.buildRequestWithoutHeaders(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
XADataSourceAddCompositeHandler.buildRequestWithoutHeaders(CommandContext ctx) |
Collection<String> |
JDBCDriverNameProvider.getAllCandidates(CommandContext ctx) |
org.jboss.dmr.ModelNode |
DataSourceAddCompositeHandler.getOperationDescription(CommandContext ctx) |
org.jboss.dmr.ModelNode |
XADataSourceAddCompositeHandler.getOperationDescription(CommandContext ctx) |
protected void |
JDBCDriverInfoHandler.handleResponse(CommandContext ctx,
org.jboss.dmr.ModelNode response,
boolean composite) |
protected Map<String,CommandArgument> |
DataSourceAddCompositeHandler.loadArguments(CommandContext ctx) |
protected Map<String,CommandArgument> |
XADataSourceAddCompositeHandler.loadArguments(CommandContext ctx) |
protected AccessRequirement |
JDBCDriverInfoHandler.setupAccessRequirement(CommandContext ctx) |
| Constructor and Description |
|---|
DataSourceAddCompositeHandler(CommandContext ctx,
String nodeType) |
JDBCDriverInfoHandler(CommandContext ctx) |
XADataSourceAddCompositeHandler(CommandContext ctx,
String nodeType) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ForHandler.doHandle(CommandContext ctx) |
protected void |
DoneHandler.doHandle(CommandContext ctx) |
boolean |
ForHandler.hasArgument(CommandContext ctx,
int index)
It has to accept everything since we don't know what kind of command will
be edited.
|
boolean |
ForHandler.hasArgument(CommandContext ctx,
String name) |
boolean |
ForHandler.isAvailable(CommandContext ctx) |
boolean |
DoneHandler.isAvailable(CommandContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ASModuleHandler.addModule(CommandContext ctx,
ParsedCommandLine parsedCmd) |
protected void |
ASModuleHandler.doHandle(CommandContext ctx) |
protected File |
ASModuleHandler.getModulesDir(CommandContext ctx) |
boolean |
ASModuleHandler.isAvailable(CommandContext ctx) |
| Constructor and Description |
|---|
ASModuleHandler(CommandContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected org.jboss.dmr.ModelNode |
InstallationReportHandler.buildRequestWithoutHeaders(CommandContext ctx) |
protected void |
InstallationReportHandler.displayResponseHeaders(CommandContext ctx,
org.jboss.dmr.ModelNode response) |
protected void |
InstallationReportHandler.handleAttachedFile(CommandContext ctx,
OperationResponse operationResponse) |
| Constructor and Description |
|---|
InstallationReportHandler(CommandContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TryHandler.doHandle(CommandContext ctx) |
protected void |
CatchHandler.doHandle(CommandContext ctx) |
protected void |
FinallyHandler.doHandle(CommandContext ctx) |
protected void |
EndTryHandler.doHandle(CommandContext ctx) |
boolean |
TryHandler.isAvailable(CommandContext ctx) |
boolean |
CatchHandler.isAvailable(CommandContext ctx) |
boolean |
FinallyHandler.isAvailable(CommandContext ctx) |
boolean |
EndTryHandler.isAvailable(CommandContext ctx) |
| Modifier and Type | Class and Description |
|---|---|
class |
CommandContextImpl |
class |
CommandExecutor.TimeoutCommandContext |
| Modifier and Type | Method and Description |
|---|---|
CommandContext |
CommandExecutor.ExecutableBuilder.getCommandContext() |
CommandContext |
CommandContextFactoryImpl.newCommandContext() |
CommandContext |
CommandContextFactoryImpl.newCommandContext(CommandContextConfiguration configuration) |
CommandContext |
CommandContextFactoryImpl.newCommandContext(String username,
char[] password) |
CommandContext |
CommandContextFactoryImpl.newCommandContext(String controllerHost,
int controllerPort,
String username,
char[] password)
Deprecated.
|
CommandContext |
CommandContextFactoryImpl.newCommandContext(String controllerHost,
int controllerPort,
String username,
char[] password,
boolean initConsole,
int connectionTimeout)
Deprecated.
|
CommandContext |
CommandContextFactoryImpl.newCommandContext(String controllerHost,
int controllerPort,
String username,
char[] password,
InputStream consoleInput,
OutputStream consoleOutput)
Deprecated.
|
CommandContext |
CommandContextFactoryImpl.newCommandContext(String controller,
String username,
char[] password) |
CommandContext |
CommandContextFactoryImpl.newCommandContext(String controller,
String username,
char[] password,
boolean disableLocalAuth,
boolean initConsole,
int connectionTimeout)
Deprecated.
|
CommandContext |
CommandContextFactoryImpl.newCommandContext(String controller,
String username,
char[] password,
boolean initConsole,
int connectionTimeout)
Deprecated.
|
CommandContext |
CommandContextFactoryImpl.newCommandContext(String controller,
String username,
char[] password,
InputStream consoleInput,
OutputStream consoleOutput) |
CommandContext |
CommandContextImpl.newTimeoutCommandContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
CLICommandCompleter.Completer.addAllCommandNames(CommandContext ctx,
org.aesh.complete.AeshCompleteOperation op) |
boolean |
ArgumentWithoutValue.canAppearNext(CommandContext ctx) |
void |
CLICommandCompleter.complete(CommandContext ctx,
org.aesh.complete.AeshCompleteOperation op,
CLICommandCompleter.Completer completer) |
void |
CLICommandCompleter.Completer.complete(CommandContext ctx,
DefaultCallbackHandler parsedCmd,
org.aesh.complete.AeshCompleteOperation op) |
int |
ValueTypeCompleter.complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
int |
DeploymentItemCompleter.complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
int |
AttributeNamePathCompleter.complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
int |
BytesCompleter.complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
int |
DefaultCompleter.complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
int |
CommaSeparatedCompleter.complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
protected void |
CLICommandCompleter.doComplete(CommandContext ctx,
org.aesh.complete.AeshCompleteOperation op,
CLICommandCompleter.Completer completer) |
protected org.jboss.dmr.ModelNode |
HeadersArgumentValueConverter.fromNonDMRString(CommandContext ctx,
String value) |
Collection<String> |
PermittedCandidates.getAllCandidates(CommandContext ctx) |
Collection<String> |
DefaultCompleter.CandidatesProvider.getAllCandidates(CommandContext ctx) |
protected abstract Collection<String> |
CommaSeparatedCompleter.getAllCandidates(CommandContext ctx) |
Map<String,OperationRequestHeader> |
CommandCandidatesProvider.getHeaders(CommandContext ctx) |
List<String> |
CommandCandidatesProvider.getNodeNames(CommandContext ctx,
OperationRequestAddress prefix) |
List<String> |
CommandCandidatesProvider.getNodeTypes(CommandContext ctx,
OperationRequestAddress prefix) |
List<String> |
CommandCandidatesProvider.getOperationNames(CommandContext ctx,
OperationRequestAddress prefix) |
Collection<CommandArgument> |
CommandCandidatesProvider.getProperties(CommandContext ctx,
String operationName,
OperationRequestAddress address) |
protected abstract List<PermittedCandidates.ValueWithAccessRequirement> |
PermittedCandidates.getValues(CommandContext ctx) |
org.jboss.dmr.ModelNode |
ArgumentWithValue.toModelNode(CommandContext ctx) |
| Constructor and Description |
|---|
CommandExecutor(CommandContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
CommandContext |
CLIValidatorInvocationImpl.getCommandContext() |
| Modifier and Type | Method and Description |
|---|---|
static String |
HelpSupport.format(CommandContext ctx,
BufferedReader reader) |
static void |
HelpSupport.printHelp(CommandContext ctx) |
static String |
HelpSupport.printHelp(CommandContext ctx,
org.jboss.dmr.ModelNode mn,
OperationRequestAddress address) |
static String |
HelpSupport.printHelp(CommandContext ctx,
String filename) |
| Constructor and Description |
|---|
CLICommandActivatorProvider(CommandContext commandContext) |
CLIValidatorInvocationImpl(CommandContext commandContext,
Object value,
org.aesh.readline.AeshContext aeshContext,
Object command) |
| Modifier and Type | Method and Description |
|---|---|
org.aesh.command.CommandResult |
LegacyBridge.execute(CommandContext ctx)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
DeployFileCommand.addContent(CommandContext context,
org.jboss.dmr.ModelNode content) |
protected void |
DeployUrlCommand.addContent(CommandContext ctx,
org.jboss.dmr.ModelNode content) |
protected abstract void |
AbstractDeployContentCommand.addContent(CommandContext ctx,
org.jboss.dmr.ModelNode content) |
BatchCompliantCommand.BatchResponseHandler |
AbstractUndeployCommand.buildBatchResponseHandler(CommandContext commandContext,
Attachments attachments) |
BatchCompliantCommand.BatchResponseHandler |
AbstractDeployCommand.buildBatchResponseHandler(CommandContext commandContext,
Attachments attachments) |
BatchCompliantCommand.BatchResponseHandler |
DeployArchiveCommand.buildBatchResponseHandler(CommandContext commandContext,
Attachments attachments) |
protected org.jboss.dmr.ModelNode |
AbstractDeployContentCommand.buildDeploymentRequest(CommandContext ctx,
String op) |
org.jboss.dmr.ModelNode |
AbstractUndeployCommand.buildRequest(CommandContext context) |
org.jboss.dmr.ModelNode |
DeployArchiveCommand.buildRequest(CommandContext context) |
org.jboss.dmr.ModelNode |
EnableAllCommand.buildRequest(CommandContext context) |
org.jboss.dmr.ModelNode |
EnableCommand.buildRequest(CommandContext context) |
org.jboss.dmr.ModelNode |
InfoCommand.buildRequest(CommandContext ctx) |
org.jboss.dmr.ModelNode |
AbstractDeployContentCommand.buildRequest(CommandContext context) |
org.jboss.dmr.ModelNode |
DeployArchiveCommand.buildRequest(CommandContext context,
Attachments attachments)
null attachments means that the command is in a batch, non null means
command executed.
|
protected org.jboss.dmr.ModelNode |
AbstractDeployContentCommand.createExtraStep(CommandContext ctx) |
org.aesh.command.CommandResult |
AbstractUndeployCommand.execute(CommandContext ctx) |
org.aesh.command.CommandResult |
DeployArchiveCommand.execute(CommandContext ctx) |
org.aesh.command.CommandResult |
EnableAllCommand.execute(CommandContext ctx) |
org.aesh.command.CommandResult |
EnableCommand.execute(CommandContext ctx) |
org.aesh.command.CommandResult |
AbstractDeployContentCommand.execute(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
DeployFileCommand.execute(CommandContext ctx,
org.jboss.dmr.ModelNode request) |
protected org.jboss.dmr.ModelNode |
DeployUrlCommand.execute(CommandContext ctx,
org.jboss.dmr.ModelNode request) |
protected abstract org.jboss.dmr.ModelNode |
AbstractDeployContentCommand.execute(CommandContext ctx,
org.jboss.dmr.ModelNode request) |
protected List<String> |
DeployFileCommand.getServerGroups(CommandContext ctx) |
protected List<String> |
AbstractDeployContentCommand.getServerGroups(CommandContext ctx) |
void |
InfoCommand.handleResponse(CommandContext ctx,
org.jboss.dmr.ModelNode response) |
static void |
ListCommand.listDeployments(CommandContext ctx,
boolean l) |
static void |
DeploymentCommand.registerDeploymentCommands(CommandContext ctx,
CLICommandRegistry registry) |
| Constructor and Description |
|---|
CommandWithPermissions(CommandContext ctx,
Function<CommandContext,AccessRequirement> ac,
Permissions permissions) |
Permissions(CommandContext ctx) |
| Constructor and Description |
|---|
CommandWithPermissions(CommandContext ctx,
Function<CommandContext,AccessRequirement> ac,
Permissions permissions) |
| Modifier and Type | Method and Description |
|---|---|
CommandContext |
AbstractControlledCommand.getCommandContext() |
| Modifier and Type | Method and Description |
|---|---|
static void |
SecurityCommand.execute(CommandContext ctx,
org.jboss.dmr.ModelNode request,
SecurityCommand.FailureConsumer consumer) |
static void |
SecurityCommand.execute(CommandContext ctx,
org.jboss.dmr.ModelNode request,
SecurityCommand.FailureConsumer consumer,
boolean noReload) |
void |
SecurityCommand.FailureConsumer.failureOccured(CommandContext ctx,
org.jboss.dmr.ModelNode reply) |
protected boolean |
ControlledCommandActivator.isAddressValid(CommandContext ctx,
OperationRequestAddress requiredAddress) |
| Constructor and Description |
|---|
AbstractControlledCommand(CommandContext ctx,
Function<CommandContext,AccessRequirement> acBuilder) |
SecurityCommand(CommandContext ctx,
AtomicReference<EmbeddedProcessLaunch> embeddedServerRef) |
| Constructor and Description |
|---|
AbstractControlledCommand(CommandContext ctx,
Function<CommandContext,AccessRequirement> acBuilder) |
| Modifier and Type | Method and Description |
|---|---|
protected static MechanismConfiguration |
AbstractEnableAuthenticationCommand.buildExternalConfiguration(CommandContext ctx,
String keyStore,
String keyStoreRealmName,
String roles) |
protected MechanismConfiguration |
AbstractEnableAuthenticationCommand.buildLocalUserConfiguration(CommandContext ctx,
boolean superUser) |
org.jboss.dmr.ModelNode |
AbstractReorderSASLCommand.buildRequest(CommandContext context) |
org.jboss.dmr.ModelNode |
AbstractEnableAuthenticationCommand.buildRequest(CommandContext context) |
org.jboss.dmr.ModelNode |
AbstractDisableAuthenticationCommand.buildRequest(CommandContext context) |
protected AuthSecurityBuilder |
HTTPServerEnableAuthCommand.buildSecurityRequest(CommandContext context) |
org.jboss.dmr.ModelNode |
HTTPServerDisableAuthCommand.buildSecurityRequest(CommandContext context) |
protected AuthSecurityBuilder |
AbstractEnableAuthenticationCommand.buildSecurityRequest(CommandContext context) |
org.jboss.dmr.ModelNode |
AbstractDisableAuthenticationCommand.buildSecurityRequest(CommandContext context) |
protected org.jboss.dmr.ModelNode |
ManagementDisableSASLCommand.disableFactory(CommandContext context) |
protected org.jboss.dmr.ModelNode |
ManagementDisableHTTPCommand.disableFactory(CommandContext context) |
protected org.jboss.dmr.ModelNode |
HTTPServerDisableAuthCommand.disableFactory(CommandContext context) |
protected abstract org.jboss.dmr.ModelNode |
AbstractDisableAuthenticationCommand.disableFactory(CommandContext context) |
protected String |
HTTPServerEnableAuthCommand.getEnabledFactory(CommandContext ctx) |
String |
ManagementDisableSASLCommand.getEnabledFactory(CommandContext ctx) |
protected String |
ManagementEnableSASLCommand.getEnabledFactory(CommandContext ctx) |
String |
ManagementDisableHTTPCommand.getEnabledFactory(CommandContext ctx) |
String |
HTTPServerDisableAuthCommand.getEnabledFactory(CommandContext ctx) |
protected String |
ManagementEnableHTTPCommand.getEnabledFactory(CommandContext ctx) |
protected abstract String |
AbstractEnableAuthenticationCommand.getEnabledFactory(CommandContext ctx) |
abstract String |
AbstractDisableAuthenticationCommand.getEnabledFactory(CommandContext ctx) |
protected String |
HTTPServerEnableAuthCommand.getOOTBFactory(CommandContext ctx) |
protected String |
ManagementEnableSASLCommand.getOOTBFactory(CommandContext ctx) |
protected String |
ManagementEnableHTTPCommand.getOOTBFactory(CommandContext ctx) |
protected abstract String |
AbstractEnableAuthenticationCommand.getOOTBFactory(CommandContext ctx) |
protected String |
HTTPServerEnableAuthCommand.getOOTBSecurityDomain(CommandContext ctx) |
String |
ManagementReorderSASLCommand.getSASLFactoryName(CommandContext ctx) |
abstract String |
AbstractReorderSASLCommand.getSASLFactoryName(CommandContext ctx) |
protected String |
HTTPServerEnableAuthCommand.getSecuredEndpoint(CommandContext ctx) |
protected String |
ManagementDisableSASLCommand.getSecuredEndpoint(CommandContext ctx) |
protected String |
ManagementEnableSASLCommand.getSecuredEndpoint(CommandContext ctx) |
protected String |
ManagementDisableHTTPCommand.getSecuredEndpoint(CommandContext ctx) |
protected String |
HTTPServerDisableAuthCommand.getSecuredEndpoint(CommandContext ctx) |
protected String |
ManagementEnableHTTPCommand.getSecuredEndpoint(CommandContext ctx) |
protected abstract String |
AbstractEnableAuthenticationCommand.getSecuredEndpoint(CommandContext ctx) |
protected abstract String |
AbstractDisableAuthenticationCommand.getSecuredEndpoint(CommandContext ctx) |
protected void |
HTTPServerEnableAuthCommand.secure(CommandContext ctx,
AuthSecurityBuilder builder) |
protected void |
ManagementEnableSASLCommand.secure(CommandContext ctx,
AuthSecurityBuilder builder) |
protected void |
ManagementEnableHTTPCommand.secure(CommandContext ctx,
AuthSecurityBuilder builder) |
protected abstract void |
AbstractEnableAuthenticationCommand.secure(CommandContext ctx,
AuthSecurityBuilder builder) |
| Constructor and Description |
|---|
HTTPServerDisableAuthCommand(CommandContext ctx) |
HTTPServerEnableAuthCommand(CommandContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.dmr.ModelNode |
ElytronUtil.addAuthFactory(CommandContext ctx,
SecurityDomain securityDomain,
String newAuthFactoryName,
AuthFactorySpec spec) |
static void |
ElytronUtil.addAuthMechanism(CommandContext ctx,
AuthFactory authFactory,
AuthMechanism mechanism,
org.jboss.dmr.ModelNode steps) |
static org.jboss.dmr.ModelNode |
ElytronUtil.addConstantRealmMapper(CommandContext ctx,
String realmName) |
static org.jboss.dmr.ModelNode |
ElytronUtil.addKeyStoreRealm(CommandContext ctx,
String ksRealmName,
String keyStore) |
static void |
ElytronUtil.addRealm(CommandContext ctx,
SecurityDomain securityDomain,
Realm realm,
org.jboss.dmr.ModelNode steps) |
static org.jboss.dmr.ModelNode |
ElytronUtil.addSecurityDomain(CommandContext ctx,
Realm realm,
String newSecurityDomain) |
static org.jboss.dmr.ModelNode |
ElytronUtil.addUsersPropertiesRealm(CommandContext ctx,
String realmName,
PropertiesRealmConfiguration config) |
static String |
DefaultResourceNames.buildConstantRoleMapperName(Realm realm,
CommandContext ctx) |
static String |
DefaultResourceNames.buildDefaultAuthFactoryName(AuthMechanism meca,
AuthFactorySpec spec,
CommandContext ctx) |
static String |
DefaultResourceNames.buildDefaultKeyStoreAlias(String dn,
CommandContext ctx) |
static String |
DefaultResourceNames.buildDefaultKeyStoreName(File path,
CommandContext ctx) |
static String |
DefaultResourceNames.buildDefaultKeyStoreName(String name,
CommandContext ctx) |
static String |
DefaultResourceNames.buildDefaultKeyStorePath(File path,
CommandContext ctx) |
static String |
DefaultResourceNames.buildDefaultSecurityDomainName(Realm realm,
CommandContext ctx) |
org.jboss.dmr.ModelNode |
SSLSecurityBuilder.buildExecutableRequest(CommandContext ctx) |
protected KeyStore |
KeyStorePathSecurityBuilder.buildKeyStore(CommandContext ctx,
boolean buildRequest) |
protected KeyStore |
InteractiveSecurityBuilder.buildKeyStore(CommandContext ctx,
boolean buildRequest) |
protected KeyStore |
KeyStoreNameSecurityBuilder.buildKeyStore(CommandContext ctx,
boolean buildRequest) |
protected abstract KeyStore |
SSLSecurityBuilder.buildKeyStore(CommandContext ctx,
boolean workaroundComposite) |
void |
AuthSecurityBuilder.buildRequest(CommandContext ctx) |
void |
InteractiveSecurityBuilder.buildRequest(CommandContext ctx,
boolean buildRequest) |
void |
SSLSecurityBuilder.buildRequest(CommandContext ctx,
boolean buildRequest) |
protected KeyManager |
SSLSecurityBuilder.buildTrustManager(CommandContext ctx,
boolean buildRequest) |
static String |
DefaultResourceNames.buildUserPropertiesDefaultRealmName(CommandContext ctx,
PropertiesRealmConfiguration config) |
static boolean |
ElytronUtil.constantRoleMapperExists(CommandContext ctx,
String name) |
static org.jboss.dmr.ModelNode |
ManagementInterfaces.disableHTTPAuth(CommandContext context) |
static org.jboss.dmr.ModelNode |
HTTPServer.disableHTTPAuthentication(String securityDomain,
CommandContext ctx) |
static org.jboss.dmr.ModelNode |
ManagementInterfaces.disableSASL(CommandContext context,
String managementInterface) |
static String |
HTTPServer.disableSSL(CommandContext context,
String serverName,
org.jboss.dmr.ModelNode steps) |
static String |
ManagementInterfaces.disableSSL(CommandContext context,
String managementInterface,
org.jboss.dmr.ModelNode steps) |
protected void |
KeyStorePathSecurityBuilder.doFailureOccured(CommandContext ctx) |
void |
InteractiveSecurityBuilder.doFailureOccured(CommandContext ctx) |
protected void |
KeyStoreNameSecurityBuilder.doFailureOccured(CommandContext ctx) |
protected abstract void |
SSLSecurityBuilder.doFailureOccured(CommandContext ctx) |
static void |
ManagementInterfaces.enableHTTPAuthentication(AuthSecurityBuilder http,
CommandContext ctx) |
static void |
HTTPServer.enableHTTPAuthentication(AuthSecurityBuilder builder,
String securityDomain,
CommandContext ctx) |
static void |
ManagementInterfaces.enableSASL(String managementInterface,
AuthSecurityBuilder sasl,
CommandContext ctx) |
static void |
HTTPServer.enableSSL(String serverName,
boolean noOverride,
CommandContext context,
SSLSecurityBuilder builder) |
static void |
ManagementInterfaces.enableSSL(String managementInterface,
String secureSocketBinding,
CommandContext ctx,
SSLSecurityBuilder builder) |
static boolean |
ElytronUtil.factoryExists(CommandContext ctx,
String name,
AuthFactorySpec spec) |
void |
SSLSecurityBuilder.failureOccured(CommandContext ctx,
org.jboss.dmr.ModelNode mn) |
static String |
ElytronUtil.findConstantRealmMapper(CommandContext ctx,
String realmName) |
static String |
ElytronUtil.findKeyStoreRealm(CommandContext ctx,
String trustStore) |
static AuthFactory |
ElytronUtil.findMatchingAuthFactory(AuthMechanism newMechanism,
AuthFactorySpec spec,
CommandContext ctx) |
static String |
ElytronUtil.findMatchingUsersPropertiesRealm(CommandContext ctx,
PropertiesRealmConfiguration config) |
static AuthFactory |
ElytronUtil.getAuthFactory(org.jboss.dmr.ModelNode mn,
String authFactory,
AuthFactorySpec spec,
CommandContext ctx) |
static AuthFactory |
ElytronUtil.getAuthFactory(String authFactory,
AuthFactorySpec spec,
CommandContext ctx) |
static org.jboss.dmr.ModelNode |
ElytronUtil.getAuthFactoryResource(String authFactory,
AuthFactorySpec spec,
CommandContext ctx) |
static List<String> |
ElytronUtil.getAvailableMechanisms(CommandContext ctx,
AuthFactorySpec spec) |
static String |
DefaultResourceNames.getDefaultManagementInterfaceName(CommandContext ctx) |
static String |
DefaultResourceNames.getDefaultServerName(CommandContext context) |
static KeyStore |
ElytronUtil.getKeyStore(CommandContext ctx,
String name) |
static String |
ManagementInterfaces.getManagementInterfaceHTTPFactoryName(CommandContext ctx) |
static String |
ManagementInterfaces.getManagementInterfaceSaslFactoryName(String managementInterface,
CommandContext ctx) |
static String |
ManagementInterfaces.getManagementInterfaceSSLContextName(CommandContext ctx,
String interfaceName) |
static List<String> |
ElytronUtil.getMechanisms(CommandContext ctx,
AuthFactorySpec spec) |
static List<String> |
ElytronUtil.getMechanisms(CommandContext ctx,
String factoryName,
AuthFactorySpec spec) |
static String |
HTTPServer.getReferencedSecurityDomainName(String securityDomain,
CommandContext ctx) |
static ApplicationSecurityDomain |
HTTPServer.getSecurityDomain(CommandContext ctx,
String name) |
static String |
HTTPServer.getSecurityDomainFactoryName(String securityDomain,
CommandContext ctx) |
static org.jboss.dmr.ModelNode |
ElytronUtil.getSecurityDomainResource(SecurityDomain domain,
CommandContext ctx) |
static ServerSSLContext |
ElytronUtil.getServerSSLContext(CommandContext context,
String sslContextName) |
static String |
HTTPServer.getSSLContextName(String serverName,
CommandContext ctx) |
static boolean |
HTTPServer.hasAuthFactory(CommandContext ctx,
String securityDomain) |
static boolean |
ElytronUtil.isElytronSupported(CommandContext commandContext) |
static boolean |
ElytronUtil.isKeyStoreManagementSupported(CommandContext commandContext) |
static boolean |
HTTPServer.isReferencedSecurityDomainSupported(CommandContext commandContext) |
static boolean |
HTTPServer.isUnderowSupported(CommandContext commandContext) |
static boolean |
ElytronUtil.keyStoreExists(CommandContext ctx,
String name) |
static boolean |
ElytronUtil.localUserExists(CommandContext ctx) |
static org.jboss.dmr.ModelNode |
ElytronUtil.removeMechanisms(CommandContext ctx,
org.jboss.dmr.ModelNode factory,
String factoryName,
AuthFactorySpec spec,
Set<String> toRemove) |
static org.jboss.dmr.ModelNode |
ElytronUtil.reorderSASLFactory(CommandContext ctx,
List<String> order,
String factoryName) |
static boolean |
ElytronUtil.securityDomainExists(CommandContext ctx,
String name) |
static boolean |
ElytronUtil.serverPropertiesRealmExists(CommandContext ctx,
String name) |
static boolean |
ElytronUtil.serverSSLContextExists(CommandContext ctx,
String name) |
static boolean |
ElytronUtil.trustManagerExists(CommandContext ctx,
String name) |
static void |
HTTPServer.writeReferencedSecurityDomain(AuthSecurityBuilder authBuilder,
String securityDomain,
CommandContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.dmr.ModelNode |
HTTPServerDisableSSLCommand.buildRequest(CommandContext context) |
org.jboss.dmr.ModelNode |
ManagementDisableSSLCommand.buildRequest(CommandContext context) |
org.jboss.dmr.ModelNode |
AbstractEnableSSLCommand.buildRequest(CommandContext context) |
protected String |
HTTPServerEnableSSLCommand.getTarget(CommandContext ctx) |
protected String |
ManagementEnableSSLCommand.getTarget(CommandContext ctx) |
protected abstract String |
AbstractEnableSSLCommand.getTarget(CommandContext ctx) |
protected boolean |
HTTPServerEnableSSLCommand.isSSLEnabled(CommandContext ctx) |
protected boolean |
ManagementEnableSSLCommand.isSSLEnabled(CommandContext ctx) |
protected abstract boolean |
AbstractEnableSSLCommand.isSSLEnabled(CommandContext ctx) |
protected void |
HTTPServerEnableSSLCommand.secure(CommandContext ctx,
SSLSecurityBuilder builder) |
protected void |
ManagementEnableSSLCommand.secure(CommandContext ctx,
SSLSecurityBuilder builder) |
protected abstract void |
AbstractEnableSSLCommand.secure(CommandContext ctx,
SSLSecurityBuilder ssl) |
| Constructor and Description |
|---|
AbstractEnableSSLCommand(CommandContext initCtx) |
HTTPServerEnableSSLCommand(CommandContext ctx) |
ManagementEnableSSLCommand(CommandContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
ParsedOperationRequestHeader.addTo(CommandContext ctx,
org.jboss.dmr.ModelNode headers) |
int |
OperationRequestCompleter.complete(CommandContext ctx,
OperationCandidatesProvider candidatesProvider,
String buffer,
int cursor,
List<String> candidates) |
protected int |
OperationRequestCompleter.complete(CommandContext ctx,
ParsedCommandLine parsedCmd,
OperationCandidatesProvider candidatesProvider,
String buffer,
int cursor,
List<String> candidates) |
int |
OperationRequestCompleter.complete(CommandContext ctx,
ParsedCommandLine parsedCmd,
String buffer,
int cursor,
List<String> candidates) |
int |
OperationRequestCompleter.complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
Map<String,OperationRequestHeader> |
OperationCandidatesProvider.getHeaders(CommandContext ctx) |
Collection<String> |
OperationCandidatesProvider.getNodeNames(CommandContext ctx,
OperationRequestAddress prefix) |
Collection<String> |
OperationCandidatesProvider.getNodeTypes(CommandContext ctx,
OperationRequestAddress prefix) |
Collection<String> |
OperationCandidatesProvider.getOperationNames(CommandContext ctx,
OperationRequestAddress prefix) |
Collection<CommandArgument> |
OperationCandidatesProvider.getProperties(CommandContext ctx,
String operationName,
OperationRequestAddress address) |
protected CommandLineCompleter |
OperationRequestCompleter.getValueCompleter(CommandContext ctx,
Iterable<CommandArgument> allArgs,
int index) |
protected CommandLineCompleter |
OperationRequestCompleter.getValueCompleter(CommandContext ctx,
Iterable<CommandArgument> allArgs,
String argName) |
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleParsedOperationRequestHeader.addTo(CommandContext ctx,
org.jboss.dmr.ModelNode headers) |
void |
ParsedRolloutPlanHeader.addTo(CommandContext ctx,
org.jboss.dmr.ModelNode headers) |
int |
HeadersCompleter.complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
int |
RolloutPlanCompleter.complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
static List<String> |
CapabilityReferenceCompleter.getCapabilityNames(CommandContext ctx,
OperationRequestAddress address,
String staticPart) |
List<String> |
CapabilityReferenceCompleter.getCapabilityReferenceNames(CommandContext ctx,
OperationRequestAddress address,
String staticPart) |
Map<String,OperationRequestHeader> |
DefaultOperationCandidatesProvider.getHeaders(CommandContext ctx) |
List<String> |
DefaultOperationCandidatesProvider.getNodeNames(CommandContext ctx,
OperationRequestAddress prefix) |
List<String> |
DefaultOperationCandidatesProvider.getNodeTypes(CommandContext ctx,
OperationRequestAddress prefix) |
List<String> |
DefaultOperationCandidatesProvider.getOperationNames(CommandContext ctx,
OperationRequestAddress prefix) |
List<CommandArgument> |
DefaultOperationCandidatesProvider.getProperties(CommandContext ctx,
String operationName,
OperationRequestAddress address) |
protected List<CommandArgument> |
DefaultOperationCandidatesProvider.getPropertiesFromPropList(List<org.jboss.dmr.Property> propList,
CommandContext ctx,
String operationName,
OperationRequestAddress address) |
void |
DefaultCallbackHandler.parse(OperationRequestAddress initialAddress,
String argsStr,
boolean validation,
CommandContext ctx) |
void |
DefaultCallbackHandler.parse(OperationRequestAddress initialAddress,
String argsStr,
CommandContext ctx) |
void |
DefaultCallbackHandler.parse(OperationRequestAddress initialAddress,
String argsStr,
CommandContext ctx,
boolean disableResolutionException) |
void |
DefaultCallbackHandler.parseHeaders(String argsStr,
CommandContext ctx) |
void |
DefaultCallbackHandler.parseOperation(OperationRequestAddress prefix,
String argsStr,
CommandContext ctx) |
org.jboss.dmr.ModelNode |
DefaultCallbackHandler.toOperationRequest(CommandContext ctx) |
| Constructor and Description |
|---|
DefaultOperationRequestParser(CommandContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected static StateParser.SubstitutedLine |
StateParser.doParse(String str,
ParsingStateCallbackHandler callbackHandler,
ParsingState initialState,
boolean strict,
boolean disableResolutionException,
CommandContext cmdCtx)
Returns the string which was actually parsed with all the substitutions performed
|
static String |
ParserUtil.parse(String commandLine,
CommandLineParser.CallbackHandler handler,
boolean strict,
CommandContext ctx)
Returns the string which was actually parsed with all the substitutions performed
|
static String |
StateParser.parse(String str,
ParsingStateCallbackHandler callbackHandler,
ParsingState initialState,
boolean strict,
CommandContext ctx)
Returns the string which was actually parsed with all the substitutions performed
|
static String |
ParserUtil.parseHeaders(String commandLine,
CommandLineParser.CallbackHandler handler,
CommandContext ctx)
Returns the string which was actually parsed with all the substitutions
performed
|
static StateParser.SubstitutedLine |
ParserUtil.parseHeadersLine(String commandLine,
CommandLineParser.CallbackHandler handler,
CommandContext ctx)
Returns the string which was actually parsed with all the substitutions
performed
|
static StateParser.SubstitutedLine |
ParserUtil.parseLine(String commandLine,
CommandLineParser.CallbackHandler handler,
boolean strict,
CommandContext ctx) |
static StateParser.SubstitutedLine |
ParserUtil.parseLine(String commandLine,
CommandLineParser.CallbackHandler handler,
boolean strict,
CommandContext ctx,
boolean disableResolutionException) |
static StateParser.SubstitutedLine |
StateParser.parseLine(String str,
ParsingStateCallbackHandler callbackHandler,
ParsingState initialState,
boolean strict,
boolean disableResolutionException,
CommandContext ctx) |
static StateParser.SubstitutedLine |
StateParser.parseLine(String str,
ParsingStateCallbackHandler callbackHandler,
ParsingState initialState,
boolean strict,
CommandContext ctx) |
static StateParser.SubstitutedLine |
StateParser.parseLine(String str,
ParsingStateCallbackHandler callbackHandler,
ParsingState initialState,
CommandContext ctx)
Returns the string which was actually parsed with all the substitutions
performed
|
static String |
ParserUtil.parseOperationRequest(String commandLine,
CommandLineParser.CallbackHandler handler,
CommandContext ctx)
Returns the string which was actually parsed with all the substitutions
performed
|
static StateParser.SubstitutedLine |
ParserUtil.parseOperationRequestLine(String commandLine,
CommandLineParser.CallbackHandler handler,
CommandContext ctx)
Returns the string which was actually parsed with all the substitutions
performed
|
| Modifier and Type | Method and Description |
|---|---|
CommandContext |
CLI.getCommandContext()
Return the CLI CommandContext.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
HelpFormatter.format(CommandContext ctx,
BufferedReader reader) |
| Modifier and Type | Method and Description |
|---|---|
BatchCompliantCommand.BatchResponseHandler |
BatchCompliantCommand.buildBatchResponseHandler(CommandContext commandContext,
Attachments attachments) |
org.jboss.dmr.ModelNode |
DMRCommand.buildRequest(CommandContext context) |
default org.jboss.dmr.ModelNode |
DMRCommand.buildRequest(CommandContext context,
Attachments attachments) |
| Modifier and Type | Method and Description |
|---|---|
CommandContext |
CLICompleterInvocation.getCommandContext() |
CommandContext |
CLICommandInvocation.getCommandContext() |
CommandContext |
CLIValidatorInvocation.getCommandContext() |
CommandContext |
CLIConverterInvocation.getCommandContext() |
| Constructor and Description |
|---|
CLICompleterInvocation(org.aesh.command.completer.CompleterInvocation delegate,
CommandContext ctx) |
CLIConverterInvocation(CommandContext commandContext,
org.aesh.readline.AeshContext aeshContext,
String input) |
| Modifier and Type | Method and Description |
|---|---|
CommandContext |
AbstractCommandActivator.getCommandContext() |
CommandContext |
CLIOptionActivator.getCommandContext() |
CommandContext |
AbstractOptionActivator.getCommandContext() |
CommandContext |
CLICommandActivator.getCommandContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractCommandActivator.setCommandContext(CommandContext commandContext) |
void |
CLIOptionActivator.setCommandContext(CommandContext commandContext)
Called internally by the CLI in order to set the
CommandContext |
void |
AbstractOptionActivator.setCommandContext(CommandContext commandContext) |
void |
CLICommandActivator.setCommandContext(CommandContext commandContext)
Called internally by the CLI in order to set the
CommandContext |
Copyright © 2018 JBoss by Red Hat. All rights reserved.