Modifier and Type | Method and Description |
---|---|
abstract CommandContext |
CommandContextFactory.newCommandContext() |
abstract CommandContext |
CommandContextFactory.newCommandContext(String username,
char[] password) |
abstract CommandContext |
CommandContextFactory.newCommandContext(String controllerHost,
int controllerPort,
String username,
char[] password) |
abstract CommandContext |
CommandContextFactory.newCommandContext(String controllerHost,
int controllerPort,
String username,
char[] password,
boolean initConsole) |
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) |
Collection<CommandArgument> |
CommandHandler.getArguments(CommandContext ctx)
Returns a collection of the command arguments the handler supports in the current context.
|
void |
CommandHandler.handle(CommandContext ctx)
Executes the command.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static void |
GuiMain.start(CommandContext cmdCtx) |
Constructor and Description |
---|
CommandExecutor(CommandContext cmdCtx) |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseOperationCommand.addHeaders(CommandContext ctx,
org.jboss.dmr.ModelNode request) |
protected org.jboss.dmr.ModelNode |
DeployHandler.buildAddRequest(CommandContext ctx,
File f,
String name,
String runtimeName) |
protected org.jboss.dmr.ModelNode |
GenericTypeOperationHandler.buildOperationRequest(CommandContext ctx,
String operation) |
org.jboss.dmr.ModelNode |
BaseOperationCommand.buildRequest(CommandContext ctx) |
org.jboss.dmr.ModelNode |
OperationRequestHandler.buildRequest(CommandContext ctx) |
protected abstract org.jboss.dmr.ModelNode |
BaseOperationCommand.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
GenericTypeOperationHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
ReadOperationHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
ReadAttributeHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
DeploymentInfoHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
UndeployHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
ArchiveHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
DeployHandler.buildRequestWithoutHeaders(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
GenericTypeOperationHandler.buildWritePropertyRequest(CommandContext ctx) |
void |
BaseOperationCommand.cliEvent(CliEvent event,
CommandContext ctx) |
int |
SimpleTabCompleter.complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
int |
DefaultFilenameTabCompleter.complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
int |
WindowsFilenameTabCompleter.complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
protected abstract void |
CommandHandlerWithHelp.doHandle(CommandContext ctx) |
protected void |
BaseOperationCommand.doHandle(CommandContext ctx) |
protected void |
ClearScreenHandler.doHandle(CommandContext ctx) |
protected void |
LsHandler.doHandle(CommandContext ctx) |
protected void |
UndeployHandler.doHandle(CommandContext ctx) |
protected void |
PrintWorkingNodeHandler.doHandle(CommandContext ctx) |
protected void |
HistoryHandler.doHandle(CommandContext ctx) |
protected void |
PrefixHandler.doHandle(CommandContext ctx) |
protected void |
ConnectHandler.doHandle(CommandContext ctx) |
protected void |
EchoDMRHandler.doHandle(CommandContext ctx) |
protected void |
ArchiveHandler.doHandle(CommandContext ctx) |
protected void |
QuitHandler.doHandle(CommandContext ctx) |
protected void |
HelpHandler.doHandle(CommandContext ctx) |
protected void |
CommandCommandHandler.doHandle(CommandContext ctx) |
protected void |
DeployHandler.doHandle(CommandContext ctx) |
protected void |
DeployHandler.execute(CommandContext ctx,
org.jboss.dmr.ModelNode request,
File f) |
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 OperationRequestAddress |
ReadOperationHandler.getAddress(CommandContext ctx) |
protected OperationRequestAddress |
ReadAttributeHandler.getAddress(CommandContext ctx) |
Collection<CommandArgument> |
CommandHandlerWithArguments.getArguments(CommandContext ctx) |
Collection<CommandArgument> |
GenericTypeOperationHandler.getArguments(CommandContext ctx) |
List<CommandArgument> |
VersionHandler.getArguments(CommandContext ctx) |
List<CommandArgument> |
OperationRequestHandler.getArguments(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
DeployHandler.getDeploymentDescriptions(CommandContext ctx,
List<String> names) |
protected List<org.jboss.dmr.Property> |
GenericTypeOperationHandler.getNodeProperties(CommandContext ctx) |
protected List<org.jboss.dmr.Property> |
CommandCommandHandler.getNodeProperties(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
GenericTypeOperationHandler.getOperationDescription(CommandContext ctx,
String operationName) |
void |
CommandHandlerWithHelp.handle(CommandContext ctx) |
void |
VersionHandler.handle(CommandContext ctx) |
void |
OperationRequestHandler.handle(CommandContext ctx) |
void |
HelpHandler.handle(CommandContext ctx) |
protected void |
BaseOperationCommand.handleResponse(CommandContext ctx,
org.jboss.dmr.ModelNode response,
boolean composite) |
protected void |
GenericTypeOperationHandler.handleResponse(CommandContext ctx,
org.jboss.dmr.ModelNode opResponse,
boolean composite) |
protected void |
ReadOperationHandler.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 |
DeploymentInfoHandler.handleResponse(CommandContext ctx,
org.jboss.dmr.ModelNode response,
boolean composite) |
protected org.jboss.dmr.ModelNode |
GenericTypeOperationHandler.initRequest(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
CommandCommandHandler.initRequest(CommandContext ctx) |
boolean |
CommandHandlerWithHelp.isAvailable(CommandContext ctx) |
boolean |
BaseOperationCommand.isAvailable(CommandContext ctx) |
boolean |
VersionHandler.isAvailable(CommandContext ctx) |
boolean |
OperationRequestHandler.isAvailable(CommandContext ctx) |
boolean |
CommandHandlerWithHelp.isBatchMode(CommandContext ctx) |
boolean |
BatchModeCommandHandler.isBatchMode(CommandContext ctx) |
boolean |
VersionHandler.isBatchMode(CommandContext ctx) |
boolean |
OperationRequestHandler.isBatchMode(CommandContext ctx) |
protected void |
DeployHandler.listDeployments(CommandContext ctx,
boolean l) |
protected void |
GenericTypeOperationHandler.printCommands(CommandContext ctx) |
protected void |
CommandHandlerWithHelp.printHelp(CommandContext ctx) |
protected void |
GenericTypeOperationHandler.printHelp(CommandContext ctx) |
protected void |
CommandHandlerWithHelp.printList(CommandContext ctx,
List<String> list,
boolean l)
Prints a list of strings.
|
protected void |
GenericTypeOperationHandler.printNodeDescription(CommandContext ctx) |
protected void |
GenericTypeOperationHandler.printProperties(CommandContext ctx,
List<org.jboss.dmr.Property> props) |
protected void |
DeployHandler.replaceDeployment(CommandContext ctx,
File f,
String name,
String runtimeName) |
protected void |
BaseOperationCommand.setParams(CommandContext ctx,
org.jboss.dmr.ModelNode request) |
protected void |
CommandCommandHandler.validateInput(CommandContext ctx,
String typePath,
String propertyName) |
Constructor and Description |
---|
ArchiveHandler(CommandContext ctx) |
BaseOperationCommand(CommandContext ctx,
String command,
boolean connectionRequired) |
BatchModeCommandHandler(CommandContext ctx,
String command,
boolean connectionRequired) |
DefaultFilenameTabCompleter(CommandContext ctx) |
DeployHandler(CommandContext ctx) |
DeploymentInfoHandler(CommandContext ctx) |
FilenameTabCompleter(CommandContext ctx) |
GenericTypeOperationHandler(CommandContext ctx,
String nodeType,
String idProperty) |
GenericTypeOperationHandler(CommandContext ctx,
String nodeType,
String idProperty,
List<String> excludeOperations) |
ReadAttributeHandler(CommandContext ctx) |
ReadOperationHandler(CommandContext ctx) |
UndeployHandler(CommandContext ctx) |
WindowsFilenameTabCompleter(CommandContext ctx) |
Modifier and Type | Method and Description |
---|---|
protected void |
BatchDiscardHandler.doHandle(CommandContext ctx) |
protected void |
BatchClearHandler.doHandle(CommandContext ctx) |
protected void |
BatchHoldbackHandler.doHandle(CommandContext ctx) |
protected void |
BatchMoveLineHandler.doHandle(CommandContext ctx) |
protected void |
BatchEditLineHandler.doHandle(CommandContext ctx) |
protected void |
BatchListHandler.doHandle(CommandContext ctx) |
protected void |
BatchHandler.doHandle(CommandContext ctx) |
protected void |
BatchRemoveLineHandler.doHandle(CommandContext ctx) |
protected void |
BatchRunHandler.doHandle(CommandContext ctx) |
boolean |
BatchDiscardHandler.isAvailable(CommandContext ctx) |
boolean |
BatchClearHandler.isAvailable(CommandContext ctx) |
boolean |
BatchHoldbackHandler.isAvailable(CommandContext ctx) |
boolean |
BatchMoveLineHandler.isAvailable(CommandContext ctx) |
boolean |
BatchEditLineHandler.isAvailable(CommandContext ctx) |
boolean |
BatchListHandler.isAvailable(CommandContext ctx) |
boolean |
BatchRemoveLineHandler.isAvailable(CommandContext ctx) |
boolean |
BatchRunHandler.isAvailable(CommandContext ctx) |
Modifier and Type | Method and Description |
---|---|
org.jboss.dmr.ModelNode |
BaseDataSourceAddHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
BaseDataSourceModifyHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
NoArgDataSourceOperationHandler.buildRequestWithoutHeaders(CommandContext ctx) |
protected void |
BaseDataSourceModifyHandler.setParams(CommandContext ctx,
org.jboss.dmr.ModelNode request) |
Constructor and Description |
---|
BaseDataSourceAddHandler(CommandContext ctx,
String commandName,
String dsType) |
BaseDataSourceModifyHandler(CommandContext ctx,
String commandName,
String dsType) |
BaseDataSourceRemoveHandler(CommandContext ctx,
String command,
String dsType) |
DataSourceAddHandler(CommandContext ctx) |
DataSourceModifyHandler(CommandContext ctx) |
DataSourceRemoveHandler(CommandContext ctx) |
NoArgDataSourceOperationHandler(CommandContext ctx,
String command,
String dsType,
String operationName) |
XADataSourceAddHandler(CommandContext ctx) |
XADataSourceModifyHandler(CommandContext ctx) |
XADataSourceRemoveHandler(CommandContext ctx) |
Modifier and Type | Method and Description |
---|---|
org.jboss.dmr.ModelNode |
DeleteJmsResourceHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
JmsQueueAddHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
CreateJmsResourceHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
JmsTopicRemoveHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
JmsQueueRemoveHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
JmsCFRemoveHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
JmsTopicAddHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
JmsCFAddHandler.buildRequestWithoutHeaders(CommandContext ctx) |
Constructor and Description |
---|
CreateJmsResourceHandler(CommandContext ctx) |
DeleteJmsResourceHandler(CommandContext ctx) |
JmsCFAddHandler(CommandContext ctx) |
JmsCFRemoveHandler(CommandContext ctx) |
JmsQueueAddHandler(CommandContext ctx) |
JmsQueueRemoveHandler(CommandContext ctx) |
JmsTopicAddHandler(CommandContext ctx) |
JmsTopicRemoveHandler(CommandContext ctx) |
Modifier and Type | Method and Description |
---|---|
CommandContext |
CommandContextFactoryImpl.newCommandContext() |
CommandContext |
CommandContextFactoryImpl.newCommandContext(String username,
char[] password) |
CommandContext |
CommandContextFactoryImpl.newCommandContext(String controllerHost,
int controllerPort,
String username,
char[] password) |
CommandContext |
CommandContextFactoryImpl.newCommandContext(String controllerHost,
int controllerPort,
String username,
char[] password,
boolean initConsole) |
Modifier and Type | Method and Description |
---|---|
protected void |
CommandContextFactoryImpl.addShutdownHook(CommandContext cmdCtx) |
boolean |
ArgumentWithoutValue.canAppearNext(CommandContext ctx) |
int |
DefaultCompleter.complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
Collection<String> |
DefaultCompleter.CandidatesProvider.getAllCandidates(CommandContext ctx) |
static Console |
Console.Factory.getConsole(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) |
Constructor and Description |
---|
HeadersArgumentValueConverter(CommandContext ctx) |
Modifier and Type | Method and Description |
---|---|
void |
ParsedOperationRequestHeader.addTo(CommandContext ctx,
org.jboss.dmr.ModelNode headers) |
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) |
org.jboss.dmr.ModelNode |
DefaultCallbackHandler.toOperationRequest(CommandContext ctx) |
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.