Uses of Interface
org.jboss.as.cli.CommandContext
-
-
Uses of CommandContext in org.jboss.as.cli
Methods in org.jboss.as.cli that return CommandContext Modifier and Type Method Description abstract CommandContextCommandContextFactory. newCommandContext()abstract CommandContextCommandContextFactory. newCommandContext(String username, char[] password)abstract CommandContextCommandContextFactory. newCommandContext(String controllerHost, int controllerPort, String username, char[] password)Deprecated.abstract CommandContextCommandContextFactory. newCommandContext(String controllerHost, int controllerPort, String username, char[] password, boolean initConsole, int connectionTimeout)Deprecated.abstract CommandContextCommandContextFactory. newCommandContext(String controllerHost, int controllerPort, String username, char[] password, InputStream consoleInput, OutputStream consoleOutput)Deprecated.abstract CommandContextCommandContextFactory. newCommandContext(String controller, String username, char[] password)abstract CommandContextCommandContextFactory. newCommandContext(String controller, String username, char[] password, boolean disableLocalAuth, boolean initConsole, int connectionTimeout)Deprecated.abstract CommandContextCommandContextFactory. newCommandContext(String controller, String username, char[] password, boolean initConsole, int connectionTimeout)Deprecated.abstract CommandContextCommandContextFactory. newCommandContext(String controller, String username, char[] password, InputStream consoleInput, OutputStream consoleOutput)abstract CommandContextCommandContextFactory. newCommandContext(CommandContextConfiguration configuration)Methods in org.jboss.as.cli with parameters of type CommandContext Modifier and Type Method Description voidCommandCompleter. addAllCommandNames(CommandContext ctx, org.aesh.complete.AeshCompleteOperation op)default OperationCommand.HandledRequestOperationCommand. buildHandledRequest(CommandContext ctx, Attachments attachments)org.jboss.dmr.ModelNodeOperationCommand. buildRequest(CommandContext ctx)default org.jboss.dmr.ModelNodeOperationCommand. buildRequest(CommandContext ctx, Attachments attachments)static org.jboss.dmr.ModelNodeUtil. buildRequest(CommandContext ctx, OperationRequestAddress address, String operation)booleanCommandArgument. canAppearNext(CommandContext ctx)Checks whether the argument can appear on the command given the already present arguments.voidCliEventListener. cliEvent(CliEvent event, CommandContext ctx)intCommandCompleter. complete(CommandContext ctx, String buffer, int cursor, List<String> candidates)voidCommandCompleter. complete(CommandContext ctx, DefaultCallbackHandler parsedCmd, org.aesh.complete.AeshCompleteOperation op)intCommandLineCompleter. complete(CommandContext ctx, String buffer, int cursor, List<String> candidates)static voidUtil. configureColors(CommandContext ctx)CommandHandlerCommandHandlerProvider. createCommandHandler(CommandContext ctx)protected abstract org.jboss.dmr.ModelNodeArgumentValueConverter.DMRWithFallbackConverter. fromNonDMRString(CommandContext ctx, String value)org.jboss.dmr.ModelNodeArgumentValueConverter.DMRWithFallbackConverter. fromString(CommandContext ctx, String value)org.jboss.dmr.ModelNodeArgumentValueConverter. fromString(CommandContext ctx, String value)CommandArgumentCommandHandler. 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 StringUtil. getResult(CommandContext cmdCtx, String cmd)static StringUtil. getRunningMode(CommandContext ctx)voidCommandHandler. handle(CommandContext ctx)Executes the command.voidCommandLineRedirection. 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.booleanCommandHandler. hasArgument(CommandContext ctx, int index)Checks whether the command handler accepts an argument with the specified index.booleanCommandHandler. hasArgument(CommandContext ctx, String name)Checks whether the command handler recognizes the argument by the name.booleanCommandHandler. isAvailable(CommandContext ctx)Checks whether the command is available in the current context (e.g. some commands require connection with the controller, some are available only in the batch mode, etc)booleanCommandHandler. isBatchMode(CommandContext ctx)Whether the command supports batch mode or not.static booleanUtil. reconnectContext(org.xnio.http.RedirectException re, CommandContext ctx)Reconnect the context if the RedirectException is valid.static org.jboss.dmr.ModelNodeUtil. toOperationRequest(CommandContext ctx, ParsedCommandLine parsedLine)static org.jboss.dmr.ModelNodeUtil. toOperationRequest(CommandContext ctx, ParsedCommandLine parsedLine, Attachments attachments)static org.jboss.dmr.ModelNodeUtil. validateRequest(CommandContext ctx, org.jboss.dmr.ModelNode request) -
Uses of CommandContext in org.jboss.as.cli.accesscontrol
Methods in org.jboss.as.cli.accesscontrol with parameters of type CommandContext Modifier and Type Method Description protected booleanAllRequiredSet. checkAccess(CommandContext ctx)protected booleanAnyRequiredSet. checkAccess(CommandContext ctx)protected abstract booleanBaseAccessRequirement. checkAccess(CommandContext ctx)protected booleanControllerModeAccess. checkAccess(CommandContext ctx)protected booleanHostServerOperationAccess. checkAccess(CommandContext ctx)protected booleanMainOperationAccessRequirement. checkAccess(CommandContext ctx)protected booleanPerNodeOperationAccess. checkAccess(CommandContext ctx)voidBaseAccessRequirement. cliEvent(CliEvent event, CommandContext ctx)protected voidHostServerOperationAccess. completeAccessCheck(CommandContext ctx)static AccessRequirementBuilderAccessRequirementBuilder.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 voidHostServerOperationAccess. initAllowedLists(CommandContext ctx)booleanAccessRequirement. isSatisfied(CommandContext ctx)booleanBaseAccessRequirement. isSatisfied(CommandContext ctx)Constructors in org.jboss.as.cli.accesscontrol with parameters of type CommandContext Constructor Description HostServerOperationAccess(CommandContext ctx, String address, String operation)PerNodeOperationAccess(CommandContext ctx, String nodeType, String address, String operation) -
Uses of CommandContext in org.jboss.as.cli.batch
Methods in org.jboss.as.cli.batch that return CommandContext Modifier and Type Method Description CommandContextBatchedCommand. getCommandContext() -
Uses of CommandContext in org.jboss.as.cli.batch.impl
Methods in org.jboss.as.cli.batch.impl that return CommandContext Modifier and Type Method Description CommandContextDefaultBatchedCommand. getCommandContext()Constructors in org.jboss.as.cli.batch.impl with parameters of type CommandContext Constructor Description DefaultBatchedCommand(CommandContext ctx, String command, org.jboss.dmr.ModelNode request, ResponseHandler handler) -
Uses of CommandContext in org.jboss.as.cli.embedded
Methods in org.jboss.as.cli.embedded with parameters of type CommandContext Modifier and Type Method Description static AtomicReference<EmbeddedProcessLaunch>EmbeddedControllerHandlerRegistrar. registerEmbeddedCommands(CommandRegistry commandRegistry, CommandContext ctx) -
Uses of CommandContext in org.jboss.as.cli.gui
Methods in org.jboss.as.cli.gui that return CommandContext Modifier and Type Method Description CommandContextCliGuiContext. getCommmandContext()Get the command context.Methods in org.jboss.as.cli.gui with parameters of type CommandContext Modifier and Type Method Description voidJConsoleCLIPlugin. init(CommandContext cmdCtx)static voidGuiMain. start(CommandContext cmdCtx)static CliGuiContextGuiMain. startEmbedded(CommandContext cmdCtx, Supplier<ModelControllerClient> client) -
Uses of CommandContext in org.jboss.as.cli.handlers
Methods in org.jboss.as.cli.handlers with parameters of type CommandContext Modifier and Type Method Description protected StringDeploymentHandler. activateNewBatch(CommandContext ctx)protected org.jboss.dmr.ModelNodeDeploymentOverlayHandler. add(CommandContext ctx, boolean stream)protected voidDeploymentOverlayHandler. addAddRedeployLinksSteps(CommandContext ctx, org.jboss.dmr.ModelNode steps, String overlay, String serverGroup, String[] links, boolean regexp)protected voidBaseOperationCommand. addHeaders(CommandContext ctx, org.jboss.dmr.ModelNode request)protected voidPrefixHandler. assertValid(CommandContext ctx, OperationRequestAddress addr)OperationCommand.HandledRequestAttachmentHandler. buildHandledRequest(CommandContext ctx, Attachments attachments)protected org.jboss.dmr.ModelNodeResourceCompositeOperationHandler. buildOperationAddress(CommandContext ctx)org.jboss.dmr.ModelNodeBaseOperationCommand. buildRequest(CommandContext ctx)org.jboss.dmr.ModelNodeOperationRequestHandler. buildRequest(CommandContext ctx)org.jboss.dmr.ModelNodeArchiveHandler. buildRequestWithoutHeaders(CommandContext ctx)protected org.jboss.dmr.ModelNodeAttachmentHandler. buildRequestWithoutHeaders(CommandContext ctx)protected abstract org.jboss.dmr.ModelNodeBaseOperationCommand. buildRequestWithoutHeaders(CommandContext ctx)org.jboss.dmr.ModelNodeDeployHandler. buildRequestWithoutHeaders(CommandContext ctx)Deprecated.org.jboss.dmr.ModelNodeDeploymentInfoHandler. buildRequestWithoutHeaders(CommandContext ctx)Deprecated.protected org.jboss.dmr.ModelNodeDeploymentOverlayHandler. buildRequestWithoutHeaders(CommandContext ctx)org.jboss.dmr.ModelNodeGenericTypeOperationHandler. buildRequestWithoutHeaders(CommandContext ctx)protected org.jboss.dmr.ModelNodeLsHandler. buildRequestWithoutHeaders(CommandContext ctx)org.jboss.dmr.ModelNodeReadAttributeHandler. buildRequestWithoutHeaders(CommandContext ctx)org.jboss.dmr.ModelNodeReadOperationHandler. buildRequestWithoutHeaders(CommandContext ctx)protected org.jboss.dmr.ModelNodeReloadHandler. buildRequestWithoutHeaders(CommandContext ctx)protected org.jboss.dmr.ModelNodeResourceCompositeOperationHandler. buildRequestWithoutHeaders(CommandContext ctx)protected org.jboss.dmr.ModelNodeShutdownHandler. buildRequestWithoutHeaders(CommandContext ctx)org.jboss.dmr.ModelNodeUndeployHandler. buildRequestWithoutHeaders(CommandContext ctx)Deprecated.protected org.jboss.dmr.ModelNodeBaseOperationCommand. buildRequestWOValidation(CommandContext ctx)voidBaseOperationCommand. cliEvent(CliEvent event, CommandContext ctx)voidGenericTypeOperationHandler. cliEvent(CliEvent event, CommandContext ctx)intFilenameTabCompleter. complete(CommandContext ctx, String buffer, int cursor, List<String> candidates)intSimpleTabCompleter. complete(CommandContext ctx, String buffer, int cursor, List<String> candidates)protected voidDeploymentHandler. discardBatch(CommandContext ctx, String holdbackBatch)voidCommandHandlerWithHelp. displayHelp(CommandContext ctx)protected voidBaseOperationCommand. displayResponseHeaders(CommandContext ctx, org.jboss.dmr.ModelNode response)protected voidArchiveHandler. doHandle(CommandContext ctx)protected voidBaseOperationCommand. doHandle(CommandContext ctx)protected voidClearScreenHandler. doHandle(CommandContext ctx)protected voidCommandCommandHandler. doHandle(CommandContext ctx)protected abstract voidCommandHandlerWithHelp. doHandle(CommandContext ctx)protected voidCommandTimeoutHandler. doHandle(CommandContext ctx)protected voidConnectionInfoHandler. doHandle(CommandContext ctx)protected voidDeployHandler. doHandle(CommandContext ctx)Deprecated.protected voidDeploymentOverlayHandler. doHandle(CommandContext ctx)protected voidEchoDMRHandler. doHandle(CommandContext ctx)protected voidEchoVariableHandler. doHandle(CommandContext ctx)protected voidHistoryHandler. doHandle(CommandContext ctx)protected voidPrefixHandler. doHandle(CommandContext ctx)protected voidPrintWorkingNodeHandler. doHandle(CommandContext ctx)protected voidQuitHandler. doHandle(CommandContext ctx)protected voidReloadHandler. doHandle(CommandContext ctx)protected voidSetVariableHandler. doHandle(CommandContext ctx)protected voidShutdownHandler. doHandle(CommandContext ctx)protected voidUndeployHandler. doHandle(CommandContext ctx)Deprecated.protected voidUnsetVariableHandler. doHandle(CommandContext ctx)protected voidGenericTypeOperationHandler. formatProperty(CommandContext ctx, String argName, CharSequence descr)protected StringBuilderGenericTypeOperationHandler. formatResponse(CommandContext ctx, org.jboss.dmr.ModelNode opResponse, boolean composite, StringBuilder buf)protected StringBuilderReadAttributeHandler. formatResponse(CommandContext ctx, org.jboss.dmr.ModelNode opResponse, boolean composite, StringBuilder buf)protected voidGenericTypeOperationHandler. formatText(CommandContext ctx, CharSequence text, int offset)protected OperationRequestAddressReadAttributeHandler. getAddress(CommandContext ctx, boolean completion)protected OperationRequestAddressReadOperationHandler. getAddress(CommandContext ctx)protected Map<String,CommandArgument>ResourceCompositeOperationHandler. getAllArguments(CommandContext ctx)CommandArgumentCommandHandlerWithArguments. getArgument(CommandContext ctx, String name)CommandArgumentGenericTypeOperationHandler. getArgument(CommandContext ctx, String name)CommandArgumentOperationRequestHandler. getArgument(CommandContext ctx, String name)CommandArgumentResourceCompositeOperationHandler. getArgument(CommandContext ctx, String name)Collection<CommandArgument>CommandHandlerWithArguments. getArguments(CommandContext ctx)Collection<CommandArgument>GenericTypeOperationHandler. getArguments(CommandContext ctx)Collection<CommandArgument>LsHandler. getArguments(CommandContext ctx)List<CommandArgument>OperationRequestHandler. getArguments(CommandContext ctx)Collection<CommandArgument>ResourceCompositeOperationHandler. getArguments(CommandContext ctx)protected Map<String,CommandArgument>CommandHandlerWithArguments. getArgumentsMap(CommandContext ctx)protected Map<String,CommandArgument>LsHandler. getArgumentsMap(CommandContext ctx)protected AttachmentsBaseOperationCommand. getAttachments(CommandContext ctx)protected org.jboss.dmr.ModelNodeDeploymentHandler. 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)protected org.jboss.dmr.ModelNodeGenericTypeOperationHandler. getOperationDescription(CommandContext ctx, String operationName)org.jboss.dmr.ModelNodeOperationDescriptionProvider. getOperationDescription(CommandContext ctx)protected org.jboss.dmr.ModelNodeResourceCompositeOperationHandler. getOperationDescription(CommandContext ctx, String operationName)protected List<String>DeploymentOverlayHandler. getServerGroupsToLink(CommandContext ctx)protected List<String>GenericTypeOperationHandler. getSupportedCommands(CommandContext ctx)voidCommandHandlerWithHelp. handle(CommandContext ctx)voidOperationRequestHandler. handle(CommandContext ctx)protected voidBaseOperationCommand. handleAttachedFile(CommandContext ctx, OperationResponse operationResponse)protected voidAttachmentHandler. handleResponse(CommandContext ctx, OperationResponse response, boolean composite)protected voidBaseOperationCommand. handleResponse(CommandContext ctx, OperationResponse response, boolean composite)protected voidBaseOperationCommand. handleResponse(CommandContext ctx, org.jboss.dmr.ModelNode response, boolean composite)protected voidDeploymentInfoHandler. handleResponse(CommandContext ctx, org.jboss.dmr.ModelNode response, boolean composite)Deprecated.protected voidGenericTypeOperationHandler. handleResponse(CommandContext ctx, org.jboss.dmr.ModelNode opResponse, boolean composite)protected voidLsHandler. handleResponse(CommandContext ctx, org.jboss.dmr.ModelNode outcome, boolean composite)protected voidReadAttributeHandler. handleResponse(CommandContext ctx, org.jboss.dmr.ModelNode response, boolean composite)protected voidReadOperationHandler. handleResponse(CommandContext ctx, org.jboss.dmr.ModelNode response, boolean composite)booleanCommandHandlerWithArguments. hasArgument(CommandContext ctx, int index)booleanCommandHandlerWithArguments. hasArgument(CommandContext ctx, String name)booleanGenericTypeOperationHandler. hasArgument(CommandContext ctx, int index)booleanGenericTypeOperationHandler. hasArgument(CommandContext ctx, String name)booleanOperationRequestHandler. hasArgument(CommandContext ctx, int index)booleanOperationRequestHandler. hasArgument(CommandContext ctx, String name)protected org.jboss.dmr.ModelNodeCommandCommandHandler. initRequest(CommandContext ctx)protected org.jboss.dmr.ModelNodeGenericTypeOperationHandler. initRequest(CommandContext ctx)protected org.jboss.dmr.ModelNodeResourceCompositeOperationHandler. initRequest(CommandContext ctx)protected booleanBaseOperationCommand. isAddressValid(CommandContext ctx)booleanBaseOperationCommand. isAvailable(CommandContext ctx)booleanCommandHandlerWithHelp. isAvailable(CommandContext ctx)booleanOperationRequestHandler. isAvailable(CommandContext ctx)booleanShutdownHandler. isAvailable(CommandContext ctx)booleanBatchModeCommandHandler. isBatchMode(CommandContext ctx)booleanCommandHandlerWithHelp. isBatchMode(CommandContext ctx)booleanDeploymentOverlayHandler. isBatchMode(CommandContext ctx)booleanOperationRequestHandler. isBatchMode(CommandContext ctx)protected org.jboss.dmr.ModelNodeDeploymentOverlayHandler. link(CommandContext ctx)protected voidDeploymentOverlayHandler. listContent(CommandContext ctx)protected voidDeploymentHandler. listDeployments(CommandContext ctx, boolean l)protected voidDeploymentOverlayHandler. listLinks(CommandContext ctx)protected Map<String,CommandArgument>ResourceCompositeOperationHandler. loadArguments(CommandContext ctx)static FilenameTabCompleterFilenameTabCompleter. newCompleter(CommandContext ctx)voidGenericTypeOperationHandler. printDescription(CommandContext ctx)protected voidCommandHandlerWithHelp. printHelp(CommandContext ctx)protected voidGenericTypeOperationHandler. printHelp(CommandContext ctx)protected voidCommandHandlerWithHelp. printList(CommandContext ctx, Collection<String> list, boolean l)Prints a list of strings.protected voidGenericTypeOperationHandler. printNodeDescription(CommandContext ctx)protected voidGenericTypeOperationHandler. printProperties(CommandContext ctx, Iterator<org.jboss.as.cli.handlers.GenericTypeOperationHandler.AttributeDescription> props)protected voidGenericTypeOperationHandler. printSupportedCommands(CommandContext ctx)protected voidAttachmentHandler. recognizeArguments(CommandContext ctx)protected voidCommandHandlerWithArguments. recognizeArguments(CommandContext ctx)protected voidEchoDMRHandler. recognizeArguments(CommandContext ctx)protected voidEchoVariableHandler. recognizeArguments(CommandContext ctx)protected voidGenericTypeOperationHandler. recognizeArguments(CommandContext ctx)protected voidLsHandler. recognizeArguments(CommandContext ctx)protected voidReadAttributeHandler. recognizeArguments(CommandContext ctx)protected voidResourceCompositeOperationHandler. recognizeArguments(CommandContext ctx)protected voidSetVariableHandler. recognizeArguments(CommandContext ctx)protected voidUnsetVariableHandler. recognizeArguments(CommandContext ctx)protected org.jboss.dmr.ModelNodeDeploymentOverlayHandler. redeployAffected(CommandContext ctx)protected org.jboss.dmr.ModelNodeDeploymentOverlayHandler. remove(CommandContext ctx)protected voidBaseOperationCommand. setParams(CommandContext ctx, org.jboss.dmr.ModelNode request)protected AccessRequirementBaseOperationCommand. setupAccessRequirement(CommandContext ctx)protected AccessRequirementDeployHandler. setupAccessRequirement(CommandContext ctx)Deprecated.protected AccessRequirementDeploymentInfoHandler. setupAccessRequirement(CommandContext ctx)Deprecated.protected AccessRequirementDeploymentOverlayHandler. setupAccessRequirement(CommandContext ctx)protected AccessRequirementReloadHandler. setupAccessRequirement(CommandContext ctx)protected AccessRequirementShutdownHandler. setupAccessRequirement(CommandContext ctx)protected AccessRequirementUndeployHandler. setupAccessRequirement(CommandContext ctx)Deprecated.protected org.jboss.dmr.ModelNodeDeploymentOverlayHandler. upload(CommandContext ctx, boolean stream)protected voidCommandCommandHandler. validateInput(CommandContext ctx, String typePath, String propertyName, boolean isChildType) -
Uses of CommandContext in org.jboss.as.cli.handlers.batch
Methods in org.jboss.as.cli.handlers.batch with parameters of type CommandContext Modifier and Type Method Description protected org.jboss.dmr.ModelNodeBatchRunHandler. buildRequestWithoutHeaders(CommandContext ctx)protected org.jboss.dmr.ModelNodeBatchRunHandler. buildRequestWOValidation(CommandContext ctx)protected voidBatchClearHandler. doHandle(CommandContext ctx)protected voidBatchDiscardHandler. doHandle(CommandContext ctx)protected voidBatchEditLineHandler. doHandle(CommandContext ctx)protected voidBatchHandler. doHandle(CommandContext ctx)protected voidBatchHoldbackHandler. doHandle(CommandContext ctx)protected voidBatchListHandler. doHandle(CommandContext ctx)protected voidBatchMoveLineHandler. doHandle(CommandContext ctx)protected voidBatchRemoveLineHandler. doHandle(CommandContext ctx)protected voidBatchRunHandler. doHandle(CommandContext ctx)AttachmentsBatchRunHandler. getAttachments(CommandContext ctx)protected voidBatchRunHandler. handleResponse(CommandContext ctx, org.jboss.dmr.ModelNode response, boolean composite)booleanBatchEditLineHandler. hasArgument(CommandContext ctx, int index)It has to accept everything since we don't know what kind of command will be edited.booleanBatchEditLineHandler. hasArgument(CommandContext ctx, String name)booleanBatchMoveLineHandler. hasArgument(CommandContext ctx, int index)booleanBatchRemoveLineHandler. hasArgument(CommandContext ctx, int index)booleanBatchClearHandler. isAvailable(CommandContext ctx)booleanBatchDiscardHandler. isAvailable(CommandContext ctx)booleanBatchEditLineHandler. isAvailable(CommandContext ctx)booleanBatchHoldbackHandler. isAvailable(CommandContext ctx)booleanBatchListHandler. isAvailable(CommandContext ctx)booleanBatchMoveLineHandler. isAvailable(CommandContext ctx)booleanBatchRemoveLineHandler. isAvailable(CommandContext ctx)protected voidBatchEditLineHandler. recognizeArguments(CommandContext ctx)Constructors in org.jboss.as.cli.handlers.batch with parameters of type CommandContext Constructor Description BatchHandler(CommandContext ctx)BatchRunHandler(CommandContext ctx) -
Uses of CommandContext in org.jboss.as.cli.handlers.ifelse
Methods in org.jboss.as.cli.handlers.ifelse with parameters of type CommandContext Modifier and Type Method Description protected voidElseHandler. doHandle(CommandContext ctx)protected voidEndIfHandler. doHandle(CommandContext ctx)protected voidIfHandler. doHandle(CommandContext ctx)booleanIfHandler. hasArgument(CommandContext ctx, int index)It has to accept everything since we don't know what kind of command will be edited.booleanIfHandler. hasArgument(CommandContext ctx, String name)booleanElseHandler. isAvailable(CommandContext ctx)booleanEndIfHandler. isAvailable(CommandContext ctx)booleanIfHandler. isAvailable(CommandContext ctx)ObjectModelNodePathOperand. resolveValue(CommandContext ctx, org.jboss.dmr.ModelNode response)ObjectOperand. resolveValue(CommandContext ctx, org.jboss.dmr.ModelNode response)ObjectStringValueOperand. resolveValue(CommandContext ctx, org.jboss.dmr.ModelNode response) -
Uses of CommandContext in org.jboss.as.cli.handlers.jca
Methods in org.jboss.as.cli.handlers.jca with parameters of type CommandContext Modifier and Type Method Description protected org.jboss.dmr.ModelNodeDataSourceAddCompositeHandler. buildRequestWithoutHeaders(CommandContext ctx)protected org.jboss.dmr.ModelNodeJDBCDriverInfoHandler. buildRequestWithoutHeaders(CommandContext ctx)protected org.jboss.dmr.ModelNodeXADataSourceAddCompositeHandler. buildRequestWithoutHeaders(CommandContext ctx)Collection<String>JDBCDriverNameProvider. getAllCandidates(CommandContext ctx)org.jboss.dmr.ModelNodeDataSourceAddCompositeHandler. getOperationDescription(CommandContext ctx)org.jboss.dmr.ModelNodeXADataSourceAddCompositeHandler. getOperationDescription(CommandContext ctx)protected voidJDBCDriverInfoHandler. 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 AccessRequirementJDBCDriverInfoHandler. setupAccessRequirement(CommandContext ctx)Constructors in org.jboss.as.cli.handlers.jca with parameters of type CommandContext Constructor Description DataSourceAddCompositeHandler(CommandContext ctx, String nodeType)JDBCDriverInfoHandler(CommandContext ctx)XADataSourceAddCompositeHandler(CommandContext ctx, String nodeType) -
Uses of CommandContext in org.jboss.as.cli.handlers.loop
Methods in org.jboss.as.cli.handlers.loop with parameters of type CommandContext Modifier and Type Method Description protected voidDoneHandler. doHandle(CommandContext ctx)protected voidForHandler. doHandle(CommandContext ctx)booleanForHandler. hasArgument(CommandContext ctx, int index)It has to accept everything since we don't know what kind of command will be edited.booleanForHandler. hasArgument(CommandContext ctx, String name)booleanDoneHandler. isAvailable(CommandContext ctx)booleanForHandler. isAvailable(CommandContext ctx) -
Uses of CommandContext in org.jboss.as.cli.handlers.module
Methods in org.jboss.as.cli.handlers.module with parameters of type CommandContext Modifier and Type Method Description protected voidASModuleHandler. addModule(CommandContext ctx, ParsedCommandLine parsedCmd)protected voidASModuleHandler. doHandle(CommandContext ctx)protected FileASModuleHandler. getModulesDir(CommandContext ctx)booleanASModuleHandler. isAvailable(CommandContext ctx)Constructors in org.jboss.as.cli.handlers.module with parameters of type CommandContext Constructor Description ASModuleHandler(CommandContext ctx) -
Uses of CommandContext in org.jboss.as.cli.handlers.report
Methods in org.jboss.as.cli.handlers.report with parameters of type CommandContext Modifier and Type Method Description protected org.jboss.dmr.ModelNodeInstallationReportHandler. buildRequestWithoutHeaders(CommandContext ctx)protected voidInstallationReportHandler. displayResponseHeaders(CommandContext ctx, org.jboss.dmr.ModelNode response)protected voidInstallationReportHandler. handleAttachedFile(CommandContext ctx, OperationResponse operationResponse)Constructors in org.jboss.as.cli.handlers.report with parameters of type CommandContext Constructor Description InstallationReportHandler(CommandContext ctx) -
Uses of CommandContext in org.jboss.as.cli.handlers.trycatch
Methods in org.jboss.as.cli.handlers.trycatch with parameters of type CommandContext Modifier and Type Method Description protected voidCatchHandler. doHandle(CommandContext ctx)protected voidEndTryHandler. doHandle(CommandContext ctx)protected voidFinallyHandler. doHandle(CommandContext ctx)protected voidTryHandler. doHandle(CommandContext ctx)booleanCatchHandler. isAvailable(CommandContext ctx)booleanEndTryHandler. isAvailable(CommandContext ctx)booleanFinallyHandler. isAvailable(CommandContext ctx)booleanTryHandler. isAvailable(CommandContext ctx) -
Uses of CommandContext in org.jboss.as.cli.impl
Classes in org.jboss.as.cli.impl that implement CommandContext Modifier and Type Class Description classCommandContextImplclassCommandExecutor.TimeoutCommandContextMethods in org.jboss.as.cli.impl that return CommandContext Modifier and Type Method Description CommandContextCommandExecutor.ExecutableBuilder. getCommandContext()CommandContextCommandContextFactoryImpl. newCommandContext()CommandContextCommandContextFactoryImpl. newCommandContext(String username, char[] password)CommandContextCommandContextFactoryImpl. newCommandContext(String controllerHost, int controllerPort, String username, char[] password)Deprecated.CommandContextCommandContextFactoryImpl. newCommandContext(String controllerHost, int controllerPort, String username, char[] password, boolean initConsole, int connectionTimeout)Deprecated.CommandContextCommandContextFactoryImpl. newCommandContext(String controllerHost, int controllerPort, String username, char[] password, InputStream consoleInput, OutputStream consoleOutput)Deprecated.CommandContextCommandContextFactoryImpl. newCommandContext(String controller, String username, char[] password)CommandContextCommandContextFactoryImpl. newCommandContext(String controller, String username, char[] password, boolean disableLocalAuth, boolean initConsole, int connectionTimeout)Deprecated.CommandContextCommandContextFactoryImpl. newCommandContext(String controller, String username, char[] password, boolean initConsole, int connectionTimeout)Deprecated.CommandContextCommandContextFactoryImpl. newCommandContext(String controller, String username, char[] password, InputStream consoleInput, OutputStream consoleOutput)CommandContextCommandContextFactoryImpl. newCommandContext(CommandContextConfiguration configuration)CommandContextCommandContextImpl. newTimeoutCommandContext()Methods in org.jboss.as.cli.impl with parameters of type CommandContext Modifier and Type Method Description voidCLICommandCompleter.Completer. addAllCommandNames(CommandContext ctx, org.aesh.complete.AeshCompleteOperation op)booleanArgumentWithoutValue. canAppearNext(CommandContext ctx)intAttributeNamePathCompleter. complete(CommandContext ctx, String buffer, int cursor, List<String> candidates)intBytesCompleter. complete(CommandContext ctx, String buffer, int cursor, List<String> candidates)voidCLICommandCompleter. complete(CommandContext ctx, org.aesh.complete.AeshCompleteOperation op, CLICommandCompleter.Completer completer)voidCLICommandCompleter.Completer. complete(CommandContext ctx, DefaultCallbackHandler parsedCmd, org.aesh.complete.AeshCompleteOperation op)intCommaSeparatedCompleter. complete(CommandContext ctx, String buffer, int cursor, List<String> candidates)intDefaultCompleter. complete(CommandContext ctx, String buffer, int cursor, List<String> candidates)intDeploymentItemCompleter. complete(CommandContext ctx, String buffer, int cursor, List<String> candidates)intValueTypeCompleter. complete(CommandContext ctx, String buffer, int cursor, List<String> candidates)protected voidCLICommandCompleter. doComplete(CommandContext ctx, org.aesh.complete.AeshCompleteOperation op, CLICommandCompleter.Completer completer)protected org.jboss.dmr.ModelNodeHeadersArgumentValueConverter. fromNonDMRString(CommandContext ctx, String value)protected abstract Collection<String>CommaSeparatedCompleter. getAllCandidates(CommandContext ctx)Collection<String>DefaultCompleter.CandidatesProvider. getAllCandidates(CommandContext ctx)Collection<String>PermittedCandidates. 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.ModelNodeArgumentWithValue. toModelNode(CommandContext ctx)Constructors in org.jboss.as.cli.impl with parameters of type CommandContext Constructor Description CommandExecutor(CommandContext ctx) -
Uses of CommandContext in org.jboss.as.cli.impl.aesh
Methods in org.jboss.as.cli.impl.aesh that return CommandContext Modifier and Type Method Description CommandContextCLIValidatorInvocationImpl. getCommandContext()Methods in org.jboss.as.cli.impl.aesh with parameters of type CommandContext Modifier and Type Method Description static StringHelpSupport. format(CommandContext ctx, BufferedReader reader)static voidHelpSupport. printHelp(CommandContext ctx)static StringHelpSupport. printHelp(CommandContext ctx, String filename)static StringHelpSupport. printHelp(CommandContext ctx, org.jboss.dmr.ModelNode mn, OperationRequestAddress address)Constructors in org.jboss.as.cli.impl.aesh with parameters of type CommandContext Constructor Description CLICommandActivatorProvider(CommandContext commandContext)CLIValidatorInvocationImpl(CommandContext commandContext, Object value, org.aesh.readline.AeshContext aeshContext, Object command) -
Uses of CommandContext in org.jboss.as.cli.impl.aesh.cmd
Methods in org.jboss.as.cli.impl.aesh.cmd with parameters of type CommandContext Modifier and Type Method Description org.aesh.command.CommandResultLegacyBridge. execute(CommandContext ctx)Deprecated. -
Uses of CommandContext in org.jboss.as.cli.impl.aesh.cmd.deployment
Methods in org.jboss.as.cli.impl.aesh.cmd.deployment with parameters of type CommandContext Modifier and Type Method Description protected abstract voidAbstractDeployContentCommand. addContent(CommandContext ctx, org.jboss.dmr.ModelNode content)protected voidDeployFileCommand. addContent(CommandContext context, org.jboss.dmr.ModelNode content)protected voidDeployUrlCommand. addContent(CommandContext ctx, org.jboss.dmr.ModelNode content)BatchCompliantCommand.BatchResponseHandlerAbstractDeployCommand. buildBatchResponseHandler(CommandContext commandContext, Attachments attachments)BatchCompliantCommand.BatchResponseHandlerAbstractUndeployCommand. buildBatchResponseHandler(CommandContext commandContext, Attachments attachments)BatchCompliantCommand.BatchResponseHandlerDeployArchiveCommand. buildBatchResponseHandler(CommandContext commandContext, Attachments attachments)protected org.jboss.dmr.ModelNodeAbstractDeployContentCommand. buildDeploymentRequest(CommandContext ctx, String op)org.jboss.dmr.ModelNodeAbstractDeployContentCommand. buildRequest(CommandContext context)org.jboss.dmr.ModelNodeAbstractUndeployCommand. buildRequest(CommandContext context)org.jboss.dmr.ModelNodeDeployArchiveCommand. buildRequest(CommandContext context)org.jboss.dmr.ModelNodeDeployArchiveCommand. buildRequest(CommandContext context, Attachments attachments)null attachments means that the command is in a batch, non null means command executed.org.jboss.dmr.ModelNodeEnableAllCommand. buildRequest(CommandContext context)org.jboss.dmr.ModelNodeEnableCommand. buildRequest(CommandContext context)org.jboss.dmr.ModelNodeInfoCommand. buildRequest(CommandContext ctx)protected org.jboss.dmr.ModelNodeAbstractDeployContentCommand. createExtraStep(CommandContext ctx)org.aesh.command.CommandResultAbstractDeployContentCommand. execute(CommandContext ctx)protected abstract org.jboss.dmr.ModelNodeAbstractDeployContentCommand. execute(CommandContext ctx, org.jboss.dmr.ModelNode request)org.aesh.command.CommandResultAbstractUndeployCommand. execute(CommandContext ctx)org.aesh.command.CommandResultDeployArchiveCommand. execute(CommandContext ctx)protected org.jboss.dmr.ModelNodeDeployFileCommand. execute(CommandContext ctx, org.jboss.dmr.ModelNode request)protected org.jboss.dmr.ModelNodeDeployUrlCommand. execute(CommandContext ctx, org.jboss.dmr.ModelNode request)org.aesh.command.CommandResultEnableAllCommand. execute(CommandContext ctx)org.aesh.command.CommandResultEnableCommand. execute(CommandContext ctx)protected List<String>AbstractDeployContentCommand. getServerGroups(CommandContext ctx)protected List<String>DeployFileCommand. getServerGroups(CommandContext ctx)voidInfoCommand. handleResponse(CommandContext ctx, org.jboss.dmr.ModelNode response)static voidListCommand. listDeployments(CommandContext ctx, boolean l)static voidDeploymentCommand. registerDeploymentCommands(CommandContext ctx, CLICommandRegistry registry) -
Uses of CommandContext in org.jboss.as.cli.impl.aesh.cmd.deployment.security
Constructors in org.jboss.as.cli.impl.aesh.cmd.deployment.security with parameters of type CommandContext Constructor Description CommandWithPermissions(CommandContext ctx, Function<CommandContext,AccessRequirement> ac, Permissions permissions)Permissions(CommandContext ctx)Constructor parameters in org.jboss.as.cli.impl.aesh.cmd.deployment.security with type arguments of type CommandContext Constructor Description CommandWithPermissions(CommandContext ctx, Function<CommandContext,AccessRequirement> ac, Permissions permissions) -
Uses of CommandContext in org.jboss.as.cli.impl.aesh.cmd.security
Methods in org.jboss.as.cli.impl.aesh.cmd.security that return CommandContext Modifier and Type Method Description CommandContextAbstractControlledCommand. getCommandContext()Methods in org.jboss.as.cli.impl.aesh.cmd.security with parameters of type CommandContext Modifier and Type Method Description static voidSecurityCommand. execute(CommandContext ctx, org.jboss.dmr.ModelNode request, SecurityCommand.FailureConsumer consumer)static voidSecurityCommand. execute(CommandContext ctx, org.jboss.dmr.ModelNode request, SecurityCommand.FailureConsumer consumer, boolean noReload)voidSecurityCommand.FailureConsumer. failureOccured(CommandContext ctx, org.jboss.dmr.ModelNode reply)protected booleanControlledCommandActivator. isAddressValid(CommandContext ctx, OperationRequestAddress requiredAddress)Constructors in org.jboss.as.cli.impl.aesh.cmd.security with parameters of type CommandContext Constructor Description AbstractControlledCommand(CommandContext ctx, Function<CommandContext,AccessRequirement> acBuilder)SecurityCommand(CommandContext ctx, AtomicReference<EmbeddedProcessLaunch> embeddedServerRef)Constructor parameters in org.jboss.as.cli.impl.aesh.cmd.security with type arguments of type CommandContext Constructor Description AbstractControlledCommand(CommandContext ctx, Function<CommandContext,AccessRequirement> acBuilder) -
Uses of CommandContext in org.jboss.as.cli.impl.aesh.cmd.security.auth
Methods in org.jboss.as.cli.impl.aesh.cmd.security.auth with parameters of type CommandContext Modifier and Type Method Description protected static MechanismConfigurationAbstractEnableAuthenticationCommand. buildExternalConfiguration(CommandContext ctx, String keyStore, String keyStoreRealmName, String roles)protected MechanismConfigurationAbstractEnableAuthenticationCommand. buildLocalUserConfiguration(CommandContext ctx, boolean superUser)org.jboss.dmr.ModelNodeAbstractDisableAuthenticationCommand. buildRequest(CommandContext context)org.jboss.dmr.ModelNodeAbstractEnableAuthenticationCommand. buildRequest(CommandContext context)org.jboss.dmr.ModelNodeAbstractReorderSASLCommand. buildRequest(CommandContext context)org.jboss.dmr.ModelNodeAbstractDisableAuthenticationCommand. buildSecurityRequest(CommandContext context)protected AuthSecurityBuilderAbstractEnableAuthenticationCommand. buildSecurityRequest(CommandContext context)org.jboss.dmr.ModelNodeHTTPServerDisableAuthCommand. buildSecurityRequest(CommandContext context)protected AuthSecurityBuilderHTTPServerEnableAuthCommand. buildSecurityRequest(CommandContext context)protected abstract org.jboss.dmr.ModelNodeAbstractDisableAuthenticationCommand. disableFactory(CommandContext context)protected org.jboss.dmr.ModelNodeHTTPServerDisableAuthCommand. disableFactory(CommandContext context)protected org.jboss.dmr.ModelNodeManagementDisableHTTPCommand. disableFactory(CommandContext context)protected org.jboss.dmr.ModelNodeManagementDisableSASLCommand. disableFactory(CommandContext context)abstract StringAbstractDisableAuthenticationCommand. getEnabledFactory(CommandContext ctx)protected abstract StringAbstractEnableAuthenticationCommand. getEnabledFactory(CommandContext ctx)StringHTTPServerDisableAuthCommand. getEnabledFactory(CommandContext ctx)protected StringHTTPServerEnableAuthCommand. getEnabledFactory(CommandContext ctx)StringManagementDisableHTTPCommand. getEnabledFactory(CommandContext ctx)StringManagementDisableSASLCommand. getEnabledFactory(CommandContext ctx)protected StringManagementEnableHTTPCommand. getEnabledFactory(CommandContext ctx)protected StringManagementEnableSASLCommand. getEnabledFactory(CommandContext ctx)protected abstract StringAbstractEnableAuthenticationCommand. getOOTBFactory(CommandContext ctx)protected StringHTTPServerEnableAuthCommand. getOOTBFactory(CommandContext ctx)protected StringManagementEnableHTTPCommand. getOOTBFactory(CommandContext ctx)protected StringManagementEnableSASLCommand. getOOTBFactory(CommandContext ctx)protected StringHTTPServerEnableAuthCommand. getOOTBSecurityDomain(CommandContext ctx)abstract StringAbstractReorderSASLCommand. getSASLFactoryName(CommandContext ctx)StringManagementReorderSASLCommand. getSASLFactoryName(CommandContext ctx)protected abstract StringAbstractDisableAuthenticationCommand. getSecuredEndpoint(CommandContext ctx)protected abstract StringAbstractEnableAuthenticationCommand. getSecuredEndpoint(CommandContext ctx)protected StringHTTPServerDisableAuthCommand. getSecuredEndpoint(CommandContext ctx)protected StringHTTPServerEnableAuthCommand. getSecuredEndpoint(CommandContext ctx)protected StringManagementDisableHTTPCommand. getSecuredEndpoint(CommandContext ctx)protected StringManagementDisableSASLCommand. getSecuredEndpoint(CommandContext ctx)protected StringManagementEnableHTTPCommand. getSecuredEndpoint(CommandContext ctx)protected StringManagementEnableSASLCommand. getSecuredEndpoint(CommandContext ctx)protected abstract voidAbstractEnableAuthenticationCommand. secure(CommandContext ctx, AuthSecurityBuilder builder)protected voidHTTPServerEnableAuthCommand. secure(CommandContext ctx, AuthSecurityBuilder builder)protected voidManagementEnableHTTPCommand. secure(CommandContext ctx, AuthSecurityBuilder builder)protected voidManagementEnableSASLCommand. secure(CommandContext ctx, AuthSecurityBuilder builder)Constructors in org.jboss.as.cli.impl.aesh.cmd.security.auth with parameters of type CommandContext Constructor Description HTTPServerDisableAuthCommand(CommandContext ctx)HTTPServerEnableAuthCommand(CommandContext ctx) -
Uses of CommandContext in org.jboss.as.cli.impl.aesh.cmd.security.model
Methods in org.jboss.as.cli.impl.aesh.cmd.security.model with parameters of type CommandContext Modifier and Type Method Description static org.jboss.dmr.ModelNodeElytronUtil. addAuthFactory(CommandContext ctx, SecurityDomain securityDomain, String newAuthFactoryName, AuthFactorySpec spec)static voidElytronUtil. addAuthMechanism(CommandContext ctx, AuthFactory authFactory, AuthMechanism mechanism, org.jboss.dmr.ModelNode steps)static org.jboss.dmr.ModelNodeElytronUtil. addConstantRealmMapper(CommandContext ctx, String realmName)static org.jboss.dmr.ModelNodeElytronUtil. addKeyStoreRealm(CommandContext ctx, String ksRealmName, String keyStore)static voidElytronUtil. addRealm(CommandContext ctx, SecurityDomain securityDomain, Realm realm, org.jboss.dmr.ModelNode steps)static org.jboss.dmr.ModelNodeElytronUtil. addSecurityDomain(CommandContext ctx, Realm realm, String newSecurityDomain)static org.jboss.dmr.ModelNodeElytronUtil. addUsersPropertiesRealm(CommandContext ctx, String realmName, PropertiesRealmConfiguration config)static StringDefaultResourceNames. buildConstantRoleMapperName(Realm realm, CommandContext ctx)static StringDefaultResourceNames. buildDefaultAuthFactoryName(AuthMechanism meca, AuthFactorySpec spec, CommandContext ctx)static StringDefaultResourceNames. buildDefaultKeyStoreAlias(String dn, CommandContext ctx)static StringDefaultResourceNames. buildDefaultKeyStoreName(File path, CommandContext ctx)static StringDefaultResourceNames. buildDefaultKeyStoreName(String name, CommandContext ctx)static StringDefaultResourceNames. buildDefaultKeyStorePath(File path, CommandContext ctx)static StringDefaultResourceNames. buildDefaultSecurityDomainName(Realm realm, CommandContext ctx)org.jboss.dmr.ModelNodeSSLSecurityBuilder. buildExecutableRequest(CommandContext ctx)protected KeyStoreInteractiveSecurityBuilder. buildKeyStore(CommandContext ctx, boolean buildRequest)protected KeyStoreKeyStoreNameSecurityBuilder. buildKeyStore(CommandContext ctx, boolean buildRequest)protected KeyStoreKeyStorePathSecurityBuilder. buildKeyStore(CommandContext ctx, boolean buildRequest)protected abstract KeyStoreSSLSecurityBuilder. buildKeyStore(CommandContext ctx, boolean workaroundComposite)voidAuthSecurityBuilder. buildRequest(CommandContext ctx)voidInteractiveSecurityBuilder. buildRequest(CommandContext ctx, boolean buildRequest)voidSSLSecurityBuilder. buildRequest(CommandContext ctx, boolean buildRequest)protected KeyManagerSSLSecurityBuilder. buildTrustManager(CommandContext ctx, boolean buildRequest)static StringDefaultResourceNames. buildUserPropertiesDefaultRealmName(CommandContext ctx, PropertiesRealmConfiguration config)static booleanElytronUtil. constantRoleMapperExists(CommandContext ctx, String name)static org.jboss.dmr.ModelNodeManagementInterfaces. disableHTTPAuth(CommandContext context)static org.jboss.dmr.ModelNodeHTTPServer. disableHTTPAuthentication(String securityDomain, CommandContext ctx)static org.jboss.dmr.ModelNodeManagementInterfaces. disableSASL(CommandContext context, String managementInterface)static StringHTTPServer. disableSSL(CommandContext context, String serverName, boolean removeHttpsListener, String httpsListener, String defaultAppSSLContext, org.jboss.dmr.ModelNode steps)static StringManagementInterfaces. disableSSL(CommandContext context, String managementInterface, org.jboss.dmr.ModelNode steps)voidInteractiveSecurityBuilder. doFailureOccured(CommandContext ctx)protected voidKeyStoreNameSecurityBuilder. doFailureOccured(CommandContext ctx)protected voidKeyStorePathSecurityBuilder. doFailureOccured(CommandContext ctx)protected abstract voidSSLSecurityBuilder. doFailureOccured(CommandContext ctx)static voidHTTPServer. enableHTTPAuthentication(AuthSecurityBuilder builder, String securityDomain, CommandContext ctx)static voidManagementInterfaces. enableHTTPAuthentication(AuthSecurityBuilder http, CommandContext ctx)static voidManagementInterfaces. enableSASL(String managementInterface, AuthSecurityBuilder sasl, CommandContext ctx)static voidHTTPServer. enableSSL(String serverName, boolean addHttpsListener, String listenerName, String socketBinding, boolean noOverride, CommandContext context, SSLSecurityBuilder builder)static voidManagementInterfaces. enableSSL(String managementInterface, String secureSocketBinding, CommandContext ctx, SSLSecurityBuilder builder)static booleanElytronUtil. factoryExists(CommandContext ctx, String name, AuthFactorySpec spec)voidSSLSecurityBuilder. failureOccured(CommandContext ctx, org.jboss.dmr.ModelNode mn)static StringElytronUtil. findConstantRealmMapper(CommandContext ctx, String realmName)static StringElytronUtil. findKeyStoreRealm(CommandContext ctx, String trustStore)static AuthFactoryElytronUtil. findMatchingAuthFactory(AuthMechanism newMechanism, AuthFactorySpec spec, CommandContext ctx)static StringElytronUtil. findMatchingUsersPropertiesRealm(CommandContext ctx, PropertiesRealmConfiguration config)static AuthFactoryElytronUtil. getAuthFactory(String authFactory, AuthFactorySpec spec, CommandContext ctx)static AuthFactoryElytronUtil. getAuthFactory(org.jboss.dmr.ModelNode mn, String authFactory, AuthFactorySpec spec, CommandContext ctx)static org.jboss.dmr.ModelNodeElytronUtil. getAuthFactoryResource(String authFactory, AuthFactorySpec spec, CommandContext ctx)static List<String>ElytronUtil. getAvailableMechanisms(CommandContext ctx, AuthFactorySpec spec)static StringDefaultResourceNames. getDefaultManagementInterfaceName(CommandContext ctx)static StringDefaultResourceNames. getDefaultServerName(CommandContext context)static KeyStoreElytronUtil. getKeyStore(CommandContext ctx, String name)static StringManagementInterfaces. getManagementInterfaceHTTPFactoryName(CommandContext ctx)static StringManagementInterfaces. getManagementInterfaceSaslFactoryName(String managementInterface, CommandContext ctx)static StringManagementInterfaces. getManagementInterfaceSSLContextName(CommandContext ctx, String interfaceName)static List<String>ElytronUtil. getMechanisms(CommandContext ctx, String factoryName, AuthFactorySpec spec)static List<String>ElytronUtil. getMechanisms(CommandContext ctx, AuthFactorySpec spec)static StringHTTPServer. getReferencedSecurityDomainName(String securityDomain, CommandContext ctx)static ApplicationSecurityDomainHTTPServer. getSecurityDomain(CommandContext ctx, String name)static StringHTTPServer. getSecurityDomainFactoryName(String securityDomain, CommandContext ctx)static org.jboss.dmr.ModelNodeElytronUtil. getSecurityDomainResource(SecurityDomain domain, CommandContext ctx)static ServerSSLContextElytronUtil. getServerSSLContext(CommandContext context, String sslContextName)static StringHTTPServer. getSSLContextName(String serverName, String httpsListener, CommandContext ctx)static booleanHTTPServer. hasAuthFactory(CommandContext ctx, String securityDomain)static booleanHTTPServer. hasHttpsListener(CommandContext commandContext, String serverName, String httpsListener)static booleanElytronUtil. hasServerSSLContext(CommandContext context, String sslContextName)static booleanElytronUtil. isElytronSupported(CommandContext commandContext)static booleanElytronUtil. isKeyStoreManagementSupported(CommandContext commandContext)static booleanHTTPServer. isLegacySecurityRealmSupported(CommandContext commandContext)static booleanHTTPServer. isReferencedSecurityDomainSupported(CommandContext commandContext)static booleanHTTPServer. isUnderowSupported(CommandContext commandContext)static booleanElytronUtil. keyStoreExists(CommandContext ctx, String name)static booleanElytronUtil. localUserExists(CommandContext ctx)static org.jboss.dmr.ModelNodeHTTPServer. removeHttpsListener(CommandContext commandContext, String serverName, String httpsListener)static org.jboss.dmr.ModelNodeElytronUtil. removeMechanisms(CommandContext ctx, org.jboss.dmr.ModelNode factory, String factoryName, AuthFactorySpec spec, Set<String> toRemove)static org.jboss.dmr.ModelNodeElytronUtil. reorderSASLFactory(CommandContext ctx, List<String> order, String factoryName)static booleanElytronUtil. securityDomainExists(CommandContext ctx, String name)static booleanElytronUtil. serverPropertiesRealmExists(CommandContext ctx, String name)static booleanElytronUtil. serverSSLContextExists(CommandContext ctx, String name)static booleanElytronUtil. trustManagerExists(CommandContext ctx, String name)static voidHTTPServer. writeReferencedSecurityDomain(AuthSecurityBuilder authBuilder, String securityDomain, CommandContext ctx) -
Uses of CommandContext in org.jboss.as.cli.impl.aesh.cmd.security.ssl
Methods in org.jboss.as.cli.impl.aesh.cmd.security.ssl with parameters of type CommandContext Modifier and Type Method Description org.jboss.dmr.ModelNodeAbstractEnableSSLCommand. buildRequest(CommandContext context)org.jboss.dmr.ModelNodeHTTPServerDisableSSLCommand. buildRequest(CommandContext context)org.jboss.dmr.ModelNodeManagementDisableSSLCommand. buildRequest(CommandContext context)StringHTTPServerDisableSSLCommand. getServerName(CommandContext ctx)StringHTTPServerEnableSSLCommand. getServerName(CommandContext ctx)protected abstract StringAbstractEnableSSLCommand. getTarget(CommandContext ctx)protected StringHTTPServerEnableSSLCommand. getTarget(CommandContext ctx)protected StringManagementEnableSSLCommand. getTarget(CommandContext ctx)protected abstract booleanAbstractEnableSSLCommand. isSSLEnabled(CommandContext ctx)protected booleanHTTPServerEnableSSLCommand. isSSLEnabled(CommandContext ctx)protected booleanManagementEnableSSLCommand. isSSLEnabled(CommandContext ctx)protected abstract voidAbstractEnableSSLCommand. secure(CommandContext ctx, SSLSecurityBuilder ssl)protected voidHTTPServerEnableSSLCommand. secure(CommandContext ctx, SSLSecurityBuilder builder)protected voidManagementEnableSSLCommand. secure(CommandContext ctx, SSLSecurityBuilder builder)Constructors in org.jboss.as.cli.impl.aesh.cmd.security.ssl with parameters of type CommandContext Constructor Description AbstractEnableSSLCommand(CommandContext initCtx)HTTPServerEnableSSLCommand(CommandContext ctx)ManagementEnableSSLCommand(CommandContext ctx) -
Uses of CommandContext in org.jboss.as.cli.operation
Methods in org.jboss.as.cli.operation with parameters of type CommandContext Modifier and Type Method Description voidParsedOperationRequestHeader. addTo(CommandContext ctx, org.jboss.dmr.ModelNode headers)intOperationRequestCompleter. complete(CommandContext ctx, String buffer, int cursor, List<String> candidates)intOperationRequestCompleter. complete(CommandContext ctx, OperationCandidatesProvider candidatesProvider, String buffer, int cursor, List<String> candidates)intOperationRequestCompleter. complete(CommandContext ctx, ParsedCommandLine parsedCmd, String buffer, int cursor, List<String> candidates)protected intOperationRequestCompleter. complete(CommandContext ctx, ParsedCommandLine parsedCmd, OperationCandidatesProvider candidatesProvider, 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 CommandLineCompleterOperationRequestCompleter. getValueCompleter(CommandContext ctx, Iterable<CommandArgument> allArgs, int index)protected CommandLineCompleterOperationRequestCompleter. getValueCompleter(CommandContext ctx, Iterable<CommandArgument> allArgs, String argName) -
Uses of CommandContext in org.jboss.as.cli.operation.impl
Methods in org.jboss.as.cli.operation.impl with parameters of type CommandContext Modifier and Type Method Description voidParsedRolloutPlanHeader. addTo(CommandContext ctx, org.jboss.dmr.ModelNode headers)voidSimpleParsedOperationRequestHeader. addTo(CommandContext ctx, org.jboss.dmr.ModelNode headers)intHeadersCompleter. complete(CommandContext ctx, String buffer, int cursor, List<String> candidates)intRolloutPlanCompleter. 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)voidDefaultCallbackHandler. parse(OperationRequestAddress initialAddress, String argsStr, boolean validation, CommandContext ctx)voidDefaultCallbackHandler. parse(OperationRequestAddress initialAddress, String argsStr, CommandContext ctx)voidDefaultCallbackHandler. parse(OperationRequestAddress initialAddress, String argsStr, CommandContext ctx, boolean disableResolutionException)voidDefaultCallbackHandler. parseHeaders(String argsStr, CommandContext ctx)voidDefaultCallbackHandler. parseOperation(OperationRequestAddress prefix, String argsStr, CommandContext ctx)org.jboss.dmr.ModelNodeDefaultCallbackHandler. toOperationRequest(CommandContext ctx)Constructors in org.jboss.as.cli.operation.impl with parameters of type CommandContext Constructor Description DefaultOperationRequestParser(CommandContext ctx) -
Uses of CommandContext in org.jboss.as.cli.parsing
Methods in org.jboss.as.cli.parsing with parameters of type CommandContext Modifier and Type Method Description protected static StateParser.SubstitutedLineStateParser. doParse(String str, ParsingStateCallbackHandler callbackHandler, ParsingState initialState, boolean strict, boolean disableResolutionException, CommandContext cmdCtx)Returns the string which was actually parsed with all the substitutions performedstatic StringParserUtil. parse(String commandLine, CommandLineParser.CallbackHandler handler, boolean strict, CommandContext ctx)Returns the string which was actually parsed with all the substitutions performedstatic StringStateParser. parse(String str, ParsingStateCallbackHandler callbackHandler, ParsingState initialState, boolean strict, CommandContext ctx)Returns the string which was actually parsed with all the substitutions performedstatic StringParserUtil. parseHeaders(String commandLine, CommandLineParser.CallbackHandler handler, CommandContext ctx)Returns the string which was actually parsed with all the substitutions performedstatic StateParser.SubstitutedLineParserUtil. parseHeadersLine(String commandLine, CommandLineParser.CallbackHandler handler, CommandContext ctx)Returns the string which was actually parsed with all the substitutions performedstatic StateParser.SubstitutedLineParserUtil. parseLine(String commandLine, CommandLineParser.CallbackHandler handler, boolean strict, CommandContext ctx)static StateParser.SubstitutedLineParserUtil. parseLine(String commandLine, CommandLineParser.CallbackHandler handler, boolean strict, CommandContext ctx, boolean disableResolutionException)static StateParser.SubstitutedLineStateParser. parseLine(String str, ParsingStateCallbackHandler callbackHandler, ParsingState initialState, boolean strict, boolean disableResolutionException, CommandContext ctx)static StateParser.SubstitutedLineStateParser. parseLine(String str, ParsingStateCallbackHandler callbackHandler, ParsingState initialState, boolean strict, CommandContext ctx)static StateParser.SubstitutedLineStateParser. parseLine(String str, ParsingStateCallbackHandler callbackHandler, ParsingState initialState, CommandContext ctx)Returns the string which was actually parsed with all the substitutions performedstatic StringParserUtil. parseOperationRequest(String commandLine, CommandLineParser.CallbackHandler handler, CommandContext ctx)Returns the string which was actually parsed with all the substitutions performedstatic StateParser.SubstitutedLineParserUtil. parseOperationRequestLine(String commandLine, CommandLineParser.CallbackHandler handler, CommandContext ctx)Returns the string which was actually parsed with all the substitutions performed -
Uses of CommandContext in org.jboss.as.cli.scriptsupport
Methods in org.jboss.as.cli.scriptsupport that return CommandContext Modifier and Type Method Description CommandContextCLI. getCommandContext()Return the CLI CommandContext. -
Uses of CommandContext in org.jboss.as.cli.util
Methods in org.jboss.as.cli.util with parameters of type CommandContext Modifier and Type Method Description static voidHelpFormatter. format(CommandContext ctx, BufferedReader reader) -
Uses of CommandContext in org.wildfly.core.cli.command
Methods in org.wildfly.core.cli.command with parameters of type CommandContext Modifier and Type Method Description BatchCompliantCommand.BatchResponseHandlerBatchCompliantCommand. buildBatchResponseHandler(CommandContext commandContext, Attachments attachments)org.jboss.dmr.ModelNodeDMRCommand. buildRequest(CommandContext context)default org.jboss.dmr.ModelNodeDMRCommand. buildRequest(CommandContext context, Attachments attachments) -
Uses of CommandContext in org.wildfly.core.cli.command.aesh
Methods in org.wildfly.core.cli.command.aesh that return CommandContext Modifier and Type Method Description CommandContextCLICommandInvocation. getCommandContext()CommandContextCLICompleterInvocation. getCommandContext()CommandContextCLIConverterInvocation. getCommandContext()CommandContextCLIValidatorInvocation. getCommandContext()Constructors in org.wildfly.core.cli.command.aesh with parameters of type CommandContext Constructor Description CLICompleterInvocation(org.aesh.command.completer.CompleterInvocation delegate, CommandContext ctx)CLIConverterInvocation(CommandContext commandContext, org.aesh.readline.AeshContext aeshContext, String input) -
Uses of CommandContext in org.wildfly.core.cli.command.aesh.activator
Methods in org.wildfly.core.cli.command.aesh.activator that return CommandContext Modifier and Type Method Description CommandContextAbstractCommandActivator. getCommandContext()CommandContextAbstractOptionActivator. getCommandContext()CommandContextCLICommandActivator. getCommandContext()CommandContextCLIOptionActivator. getCommandContext()Methods in org.wildfly.core.cli.command.aesh.activator with parameters of type CommandContext Modifier and Type Method Description voidAbstractCommandActivator. setCommandContext(CommandContext commandContext)voidAbstractOptionActivator. setCommandContext(CommandContext commandContext)voidCLICommandActivator. setCommandContext(CommandContext commandContext)Called internally by the CLI in order to set theCommandContextvoidCLIOptionActivator. setCommandContext(CommandContext commandContext)Called internally by the CLI in order to set theCommandContext
-