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 |
---|---|
org.jboss.dmr.ModelNode |
OperationCommand.buildRequest(CommandContext ctx) |
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) |
int |
CommandLineCompleter.complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
int |
CommandCompleter.complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
CommandHandler |
CommandHandlerProvider.createCommandHandler(CommandContext ctx) |
protected int |
CommandCompleter.doComplete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
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) |
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.
|
void |
CommandHandler.handle(CommandContext ctx)
Executes the command.
|
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 org.jboss.dmr.ModelNode |
Util.toOperationRequest(CommandContext ctx,
ParsedCommandLine parsedLine) |
static org.jboss.dmr.ModelNode |
Util.validateRequest(CommandContext ctx,
org.jboss.dmr.ModelNode request) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
PerNodeOperationAccess.checkAccess(CommandContext ctx) |
protected abstract boolean |
BaseAccessRequirement.checkAccess(CommandContext ctx) |
protected boolean |
AllRequiredSet.checkAccess(CommandContext ctx) |
protected boolean |
AnyRequiredSet.checkAccess(CommandContext ctx) |
protected boolean |
ControllerModeAccess.checkAccess(CommandContext ctx) |
protected boolean |
MainOperationAccessRequirement.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 |
BaseAccessRequirement.isSatisfied(CommandContext ctx) |
boolean |
AccessRequirement.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 |
---|---|
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) |
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) |
protected org.jboss.dmr.ModelNode |
DeployHandler.buildAddRequest(CommandContext ctx,
File f,
URL url,
String name,
String runtimeName,
boolean unmanaged) |
protected org.jboss.dmr.ModelNode |
ResourceCompositeOperationHandler.buildOperationAddress(CommandContext ctx) |
org.jboss.dmr.ModelNode |
OperationRequestHandler.buildRequest(CommandContext ctx) |
org.jboss.dmr.ModelNode |
BaseOperationCommand.buildRequest(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
DeploymentOverlayHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
GenericTypeOperationHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
DeploymentInfoHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
UndeployHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
DeployHandler.buildRequestWithoutHeaders(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
ReloadHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
ReadAttributeHandler.buildRequestWithoutHeaders(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
ShutdownHandler.buildRequestWithoutHeaders(CommandContext ctx) |
protected abstract org.jboss.dmr.ModelNode |
BaseOperationCommand.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
ArchiveHandler.buildRequestWithoutHeaders(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
ResourceCompositeOperationHandler.buildRequestWithoutHeaders(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
LsHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
ReadOperationHandler.buildRequestWithoutHeaders(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
BaseOperationCommand.buildRequestWOValidation(CommandContext ctx) |
void |
GenericTypeOperationHandler.cliEvent(CliEvent event,
CommandContext ctx) |
void |
BaseOperationCommand.cliEvent(CliEvent event,
CommandContext ctx) |
int |
DefaultFilenameTabCompleter.complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
int |
WindowsFilenameTabCompleter.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) |
protected void |
BaseOperationCommand.displayResponseHeaders(CommandContext ctx,
org.jboss.dmr.ModelNode response) |
protected void |
EchoDMRHandler.doHandle(CommandContext ctx) |
protected void |
ConnectionInfoHandler.doHandle(CommandContext ctx) |
protected void |
PrefixHandler.doHandle(CommandContext ctx) |
protected void |
DeploymentOverlayHandler.doHandle(CommandContext ctx) |
protected void |
QuitHandler.doHandle(CommandContext ctx) |
protected void |
UnsetVariableHandler.doHandle(CommandContext ctx) |
protected void |
UndeployHandler.doHandle(CommandContext ctx) |
protected void |
CommandCommandHandler.doHandle(CommandContext ctx) |
protected void |
PrintWorkingNodeHandler.doHandle(CommandContext ctx) |
protected void |
ClearScreenHandler.doHandle(CommandContext ctx) |
protected void |
DeployHandler.doHandle(CommandContext ctx) |
protected void |
ReloadHandler.doHandle(CommandContext ctx) |
protected void |
HelpHandler.doHandle(CommandContext ctx) |
protected void |
ShutdownHandler.doHandle(CommandContext ctx) |
protected void |
HistoryHandler.doHandle(CommandContext ctx) |
protected void |
BaseOperationCommand.doHandle(CommandContext ctx) |
protected abstract void |
CommandHandlerWithHelp.doHandle(CommandContext ctx) |
protected void |
ConnectHandler.doHandle(CommandContext ctx) |
protected void |
EchoVariableHandler.doHandle(CommandContext ctx) |
protected void |
ArchiveHandler.doHandle(CommandContext ctx) |
protected void |
SetVariableHandler.doHandle(CommandContext ctx) |
protected void |
DeployHandler.execute(CommandContext ctx,
org.jboss.dmr.ModelNode request,
File f,
boolean unmanaged) |
protected void |
GenericTypeOperationHandler.formatProperty(CommandContext ctx,
String argName,
CharSequence descr) |
protected StringBuilder |
GenericTypeOperationHandler.formatResponse(CommandContext ctx,
org.jboss.dmr.ModelNode opResponse,
boolean composite,
StringBuilder buf) |
protected StringBuilder |
ReadAttributeHandler.formatResponse(CommandContext ctx,
org.jboss.dmr.ModelNode opResponse,
boolean composite,
StringBuilder buf) |
protected void |
GenericTypeOperationHandler.formatText(CommandContext ctx,
CharSequence text,
int offset) |
protected OperationRequestAddress |
ReadAttributeHandler.getAddress(CommandContext ctx) |
protected OperationRequestAddress |
ReadOperationHandler.getAddress(CommandContext ctx) |
protected Map<String,CommandArgument> |
ResourceCompositeOperationHandler.getAllArguments(CommandContext ctx) |
CommandArgument |
GenericTypeOperationHandler.getArgument(CommandContext ctx,
String name) |
CommandArgument |
CommandHandlerWithArguments.getArgument(CommandContext ctx,
String name) |
CommandArgument |
VersionHandler.getArgument(CommandContext ctx,
String name) |
CommandArgument |
OperationRequestHandler.getArgument(CommandContext ctx,
String name) |
CommandArgument |
ResourceCompositeOperationHandler.getArgument(CommandContext ctx,
String name) |
Collection<CommandArgument> |
GenericTypeOperationHandler.getArguments(CommandContext ctx) |
Collection<CommandArgument> |
CommandHandlerWithArguments.getArguments(CommandContext ctx) |
List<CommandArgument> |
VersionHandler.getArguments(CommandContext ctx) |
List<CommandArgument> |
OperationRequestHandler.getArguments(CommandContext ctx) |
Collection<CommandArgument> |
ResourceCompositeOperationHandler.getArguments(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
DeploymentHandler.getDeploymentDescriptions(CommandContext ctx,
List<String> names) |
protected Iterator<org.jboss.as.cli.handlers.GenericTypeOperationHandler.AttributeDescription> |
GenericTypeOperationHandler.getNodeProperties(CommandContext ctx) |
protected List<org.jboss.dmr.Property> |
CommandCommandHandler.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 |
VersionHandler.handle(CommandContext ctx) |
void |
OperationRequestHandler.handle(CommandContext ctx) |
void |
HelpHandler.handle(CommandContext ctx) |
void |
CommandHandlerWithHelp.handle(CommandContext ctx) |
protected void |
BaseOperationCommand.handleAttachedFile(CommandContext ctx,
OperationResponse operationResponse) |
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) |
protected void |
ReadAttributeHandler.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 |
LsHandler.handleResponse(CommandContext ctx,
org.jboss.dmr.ModelNode outcome,
boolean composite) |
protected void |
ReadOperationHandler.handleResponse(CommandContext ctx,
org.jboss.dmr.ModelNode response,
boolean composite) |
protected void |
BaseOperationCommand.handleResponse(CommandContext ctx,
OperationResponse response,
boolean composite) |
boolean |
GenericTypeOperationHandler.hasArgument(CommandContext ctx,
int index) |
boolean |
CommandHandlerWithArguments.hasArgument(CommandContext ctx,
int index) |
boolean |
VersionHandler.hasArgument(CommandContext ctx,
int index) |
boolean |
OperationRequestHandler.hasArgument(CommandContext ctx,
int index) |
boolean |
ConnectHandler.hasArgument(CommandContext ctx,
int index) |
boolean |
GenericTypeOperationHandler.hasArgument(CommandContext ctx,
String name) |
boolean |
CommandHandlerWithArguments.hasArgument(CommandContext ctx,
String name) |
boolean |
VersionHandler.hasArgument(CommandContext ctx,
String name) |
boolean |
OperationRequestHandler.hasArgument(CommandContext ctx,
String name) |
protected org.jboss.dmr.ModelNode |
GenericTypeOperationHandler.initRequest(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
CommandCommandHandler.initRequest(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
ResourceCompositeOperationHandler.initRequest(CommandContext ctx) |
protected boolean |
BaseOperationCommand.isAddressValid(CommandContext ctx) |
boolean |
VersionHandler.isAvailable(CommandContext ctx) |
boolean |
OperationRequestHandler.isAvailable(CommandContext ctx) |
boolean |
ShutdownHandler.isAvailable(CommandContext ctx) |
boolean |
BaseOperationCommand.isAvailable(CommandContext ctx) |
boolean |
CommandHandlerWithHelp.isAvailable(CommandContext ctx) |
boolean |
DeploymentOverlayHandler.isBatchMode(CommandContext ctx) |
boolean |
VersionHandler.isBatchMode(CommandContext ctx) |
boolean |
BatchModeCommandHandler.isBatchMode(CommandContext ctx) |
boolean |
OperationRequestHandler.isBatchMode(CommandContext ctx) |
boolean |
CommandHandlerWithHelp.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) |
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 |
EchoDMRHandler.recognizeArguments(CommandContext ctx) |
protected void |
GenericTypeOperationHandler.recognizeArguments(CommandContext ctx) |
protected void |
CommandHandlerWithArguments.recognizeArguments(CommandContext ctx) |
protected void |
UnsetVariableHandler.recognizeArguments(CommandContext ctx) |
protected void |
ReadAttributeHandler.recognizeArguments(CommandContext ctx) |
protected void |
ConnectHandler.recognizeArguments(CommandContext ctx) |
protected void |
EchoVariableHandler.recognizeArguments(CommandContext ctx) |
protected void |
ResourceCompositeOperationHandler.recognizeArguments(CommandContext ctx) |
protected void |
LsHandler.recognizeArguments(CommandContext ctx) |
protected void |
SetVariableHandler.recognizeArguments(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
DeploymentOverlayHandler.redeployAffected(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
DeploymentOverlayHandler.remove(CommandContext ctx) |
protected void |
DeployHandler.replaceDeployment(CommandContext ctx,
File f,
URL url,
String name,
String runtimeName,
boolean disabled) |
protected void |
BaseOperationCommand.setParams(CommandContext ctx,
org.jboss.dmr.ModelNode request) |
protected AccessRequirement |
DeploymentOverlayHandler.setupAccessRequirement(CommandContext ctx) |
protected AccessRequirement |
DeploymentInfoHandler.setupAccessRequirement(CommandContext ctx) |
protected AccessRequirement |
UndeployHandler.setupAccessRequirement(CommandContext ctx) |
protected AccessRequirement |
DeployHandler.setupAccessRequirement(CommandContext ctx) |
protected AccessRequirement |
ReloadHandler.setupAccessRequirement(CommandContext ctx) |
protected AccessRequirement |
ShutdownHandler.setupAccessRequirement(CommandContext ctx) |
protected AccessRequirement |
BaseOperationCommand.setupAccessRequirement(CommandContext ctx) |
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 |
BatchRunHandler.doHandle(CommandContext ctx) |
protected void |
BatchListHandler.doHandle(CommandContext ctx) |
protected void |
BatchMoveLineHandler.doHandle(CommandContext ctx) |
protected void |
BatchHandler.doHandle(CommandContext ctx) |
protected void |
BatchEditLineHandler.doHandle(CommandContext ctx) |
protected void |
BatchHoldbackHandler.doHandle(CommandContext ctx) |
protected void |
BatchRemoveLineHandler.doHandle(CommandContext ctx) |
protected void |
BatchClearHandler.doHandle(CommandContext ctx) |
protected void |
BatchDiscardHandler.doHandle(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 |
BatchListHandler.isAvailable(CommandContext ctx) |
boolean |
BatchMoveLineHandler.isAvailable(CommandContext ctx) |
boolean |
BatchEditLineHandler.isAvailable(CommandContext ctx) |
boolean |
BatchHoldbackHandler.isAvailable(CommandContext ctx) |
boolean |
BatchRemoveLineHandler.isAvailable(CommandContext ctx) |
boolean |
BatchClearHandler.isAvailable(CommandContext ctx) |
boolean |
BatchDiscardHandler.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 |
IfHandler.doHandle(CommandContext ctx) |
protected void |
EndIfHandler.doHandle(CommandContext ctx) |
protected void |
ElseHandler.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 |
IfHandler.isAvailable(CommandContext ctx) |
boolean |
EndIfHandler.isAvailable(CommandContext ctx) |
boolean |
ElseHandler.isAvailable(CommandContext ctx) |
Object |
Operand.resolveValue(CommandContext ctx,
org.jboss.dmr.ModelNode response) |
Object |
StringValueOperand.resolveValue(CommandContext ctx,
org.jboss.dmr.ModelNode response) |
Object |
ModelNodePathOperand.resolveValue(CommandContext ctx,
org.jboss.dmr.ModelNode response) |
Modifier and Type | Method and Description |
---|---|
protected org.jboss.dmr.ModelNode |
XADataSourceAddCompositeHandler.buildRequestWithoutHeaders(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
JDBCDriverInfoHandler.buildRequestWithoutHeaders(CommandContext ctx) |
Collection<String> |
JDBCDriverNameProvider.getAllCandidates(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> |
XADataSourceAddCompositeHandler.loadArguments(CommandContext ctx) |
protected AccessRequirement |
JDBCDriverInfoHandler.setupAccessRequirement(CommandContext ctx) |
Constructor and Description |
---|
JDBCDriverInfoHandler(CommandContext ctx) |
XADataSourceAddCompositeHandler(CommandContext ctx,
String nodeType) |
Modifier and Type | Method and Description |
---|---|
protected void |
ASModuleHandler.addModule(CommandContext ctx,
ParsedCommandLine parsedCmd) |
protected void |
ASModuleHandler.doHandle(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 |
EndTryHandler.doHandle(CommandContext ctx) |
protected void |
CatchHandler.doHandle(CommandContext ctx) |
protected void |
FinallyHandler.doHandle(CommandContext ctx) |
protected void |
TryHandler.doHandle(CommandContext ctx) |
boolean |
EndTryHandler.isAvailable(CommandContext ctx) |
boolean |
CatchHandler.isAvailable(CommandContext ctx) |
boolean |
FinallyHandler.isAvailable(CommandContext ctx) |
boolean |
TryHandler.isAvailable(CommandContext ctx) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
boolean |
ArgumentWithoutValue.canAppearNext(CommandContext ctx) |
int |
DefaultCompleter.complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
int |
AttributeNamePathCompleter.complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
int |
ValueTypeCompleter.complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
int |
CommaSeparatedCompleter.complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
protected org.jboss.dmr.ModelNode |
HeadersArgumentValueConverter.fromNonDMRString(CommandContext ctx,
String value) |
Collection<String> |
DefaultCompleter.CandidatesProvider.getAllCandidates(CommandContext ctx) |
Collection<String> |
PermittedCandidates.getAllCandidates(CommandContext ctx) |
protected abstract Collection<String> |
CommaSeparatedCompleter.getAllCandidates(CommandContext ctx) |
static Console |
Console.Factory.getConsole(CommandContext ctx,
InputStream is,
OutputStream os,
org.jboss.aesh.console.settings.Settings settings) |
static Console |
Console.Factory.getConsole(CommandContext ctx,
org.jboss.aesh.console.settings.Settings settings) |
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) |
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 |
ParsedRolloutPlanHeader.addTo(CommandContext ctx,
org.jboss.dmr.ModelNode headers) |
void |
SimpleParsedOperationRequestHeader.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) |
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) |
void |
DefaultCallbackHandler.parse(OperationRequestAddress initialAddress,
String argsStr,
boolean validation,
CommandContext ctx) |
void |
DefaultCallbackHandler.parse(OperationRequestAddress initialAddress,
String argsStr,
CommandContext ctx) |
org.jboss.dmr.ModelNode |
DefaultCallbackHandler.toOperationRequest(CommandContext ctx) |
Modifier and Type | Method and Description |
---|---|
protected static String |
StateParser.doParse(String str,
ParsingStateCallbackHandler callbackHandler,
ParsingState initialState,
boolean strict,
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
|
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 |
---|---|
CommandHandler |
PatchHandlerProvider.createCommandHandler(CommandContext ctx) |
protected void |
PatchHandler.doHandle(CommandContext ctx) |
protected void |
PatchHandler.doInspect(CommandContext ctx) |
protected void |
PatchHandler.printLayerPatches(CommandContext ctx,
org.jboss.dmr.ModelNode result,
String type) |
Constructor and Description |
---|
PatchHandler(CommandContext context) |
Copyright © 2023 JBoss by Red Hat. All rights reserved.