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) |
org.jboss.dmr.ModelNode |
CommandContext.buildRequest(String line)
Builds a DMR request corresponding to the command or the operation.
|
boolean |
CommandArgument.canAppearNext(CommandContext ctx)
Checks whether the argument can appear on the command
given the already present arguments.
|
protected abstract org.jboss.dmr.ModelNode |
ArgumentValueConverter.DMRWithFallbackConverter.fromNonDMRString(String value) |
org.jboss.dmr.ModelNode |
ArgumentValueConverter.fromString(String value) |
org.jboss.dmr.ModelNode |
ArgumentValueConverter.DMRWithFallbackConverter.fromString(String value) |
static org.jboss.dmr.ModelNode |
Util.getRolloutPlan(ModelControllerClient client,
String name) |
String |
CommandArgument.getValue(ParsedCommandLine args)
Returns the value of the argument specified on the command line.
|
String |
CommandArgument.getValue(ParsedCommandLine args,
boolean required)
Returns the value of the argument specified on the command line.
|
void |
CommandHandler.handle(CommandContext ctx)
Handles the execution of the command.
|
boolean |
CommandArgument.isPresent(ParsedCommandLine args)
Checks whether the argument is present on the command line.
|
boolean |
CommandArgument.isValueComplete(ParsedCommandLine args)
Checks whether the value is specified and complete.
|
BatchedCommand |
CommandContext.toBatchedCommand(String line)
Builds an operation request from the passed in command line.
|
Modifier and Type | Method and Description |
---|---|
org.jboss.dmr.ModelNode |
CommandExecutor.doCommand(String command) |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseOperationCommand.addHeaders(CommandContext ctx,
org.jboss.dmr.ModelNode request) |
protected org.jboss.dmr.ModelNode |
GenericTypeOperationHandler.buildOperationRequest(CommandContext ctx,
String operation) |
org.jboss.dmr.ModelNode |
ReadAttributeHandler.buildRequest(CommandContext ctx) |
org.jboss.dmr.ModelNode |
DeployHandler.buildRequest(CommandContext ctx) |
org.jboss.dmr.ModelNode |
ReadOperationHandler.buildRequest(CommandContext ctx) |
org.jboss.dmr.ModelNode |
DeploymentInfoHandler.buildRequest(CommandContext ctx) |
org.jboss.dmr.ModelNode |
ArchiveHandler.buildRequest(CommandContext ctx) |
org.jboss.dmr.ModelNode |
GenericTypeOperationHandler.buildRequest(CommandContext ctx) |
org.jboss.dmr.ModelNode |
OperationRequestHandler.buildRequest(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
GenericTypeOperationHandler.buildWritePropertyRequest(CommandContext ctx) |
protected void |
HistoryHandler.doHandle(CommandContext ctx) |
protected void |
DeployHandler.doHandle(CommandContext ctx) |
protected void |
BaseOperationCommand.doHandle(CommandContext ctx) |
protected abstract void |
CommandHandlerWithHelp.doHandle(CommandContext ctx) |
protected void |
LsHandler.doHandle(CommandContext ctx) |
protected void |
UndeployHandler.doHandle(CommandContext ctx) |
protected void |
ArchiveHandler.doHandle(CommandContext ctx) |
protected void |
CommandCommandHandler.doHandle(CommandContext ctx) |
protected OperationRequestAddress |
ReadAttributeHandler.getAddress(CommandContext ctx) |
protected OperationRequestAddress |
ReadOperationHandler.getAddress(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
DeployHandler.getDeploymentDescriptions(CommandContext ctx,
List<String> names) |
void |
CommandHandlerWithHelp.handle(CommandContext ctx) |
protected void |
DeployHandler.listDeployments(CommandContext ctx,
boolean l) |
protected void |
BaseOperationCommand.setParams(CommandContext ctx,
org.jboss.dmr.ModelNode request) |
Modifier and Type | Method and Description |
---|---|
protected void |
BatchHoldbackHandler.doHandle(CommandContext ctx) |
protected void |
BatchRemoveLineHandler.doHandle(CommandContext ctx) |
protected void |
BatchHandler.doHandle(CommandContext ctx) |
protected void |
BatchMoveLineHandler.doHandle(CommandContext ctx) |
Modifier and Type | Method and Description |
---|---|
org.jboss.dmr.ModelNode |
BaseDataSourceAddHandler.buildRequest(CommandContext ctx) |
org.jboss.dmr.ModelNode |
NoArgDataSourceOperationHandler.buildRequest(CommandContext ctx) |
org.jboss.dmr.ModelNode |
BaseDataSourceModifyHandler.buildRequest(CommandContext ctx) |
protected void |
BaseDataSourceModifyHandler.setParams(CommandContext ctx,
org.jboss.dmr.ModelNode request) |
Modifier and Type | Method and Description |
---|---|
org.jboss.dmr.ModelNode |
JmsTopicRemoveHandler.buildRequest(CommandContext ctx) |
org.jboss.dmr.ModelNode |
JmsCFRemoveHandler.buildRequest(CommandContext ctx) |
org.jboss.dmr.ModelNode |
JmsTopicAddHandler.buildRequest(CommandContext ctx) |
org.jboss.dmr.ModelNode |
JmsQueueRemoveHandler.buildRequest(CommandContext ctx) |
org.jboss.dmr.ModelNode |
JmsCFAddHandler.buildRequest(CommandContext ctx) |
org.jboss.dmr.ModelNode |
JmsQueueAddHandler.buildRequest(CommandContext ctx) |
Modifier and Type | Method and Description |
---|---|
boolean |
ArgumentWithoutValue.canAppearNext(CommandContext ctx) |
String |
ArgumentWithoutValue.getValue(ParsedCommandLine args,
boolean required) |
String |
ArgumentWithValue.getValue(ParsedCommandLine args,
boolean required) |
boolean |
ArgumentWithoutValue.isPresent(ParsedCommandLine args) |
boolean |
ArgumentWithoutValue.isValueComplete(ParsedCommandLine args) |
boolean |
ArgumentWithValue.isValueComplete(ParsedCommandLine args) |
void |
RequestParamArgWithValue.set(ParsedCommandLine args,
org.jboss.dmr.ModelNode request) |
void |
RequestParamPropertiesArg.set(ParsedCommandLine args,
org.jboss.dmr.ModelNode request) |
void |
RequiredRequestParamArg.set(ParsedCommandLine args,
org.jboss.dmr.ModelNode request) |
void |
RequestParameterArgument.set(ParsedCommandLine args,
org.jboss.dmr.ModelNode request) |
void |
RequestParamArgWithoutValue.set(ParsedCommandLine args,
org.jboss.dmr.ModelNode request) |
protected static void |
RequestParamPropertiesArg.setPropertyMapValue(org.jboss.dmr.ModelNode request,
String name,
String value) |
Modifier and Type | Class and Description |
---|---|
class |
OperationFormatException |
Modifier and Type | Method and Description |
---|---|
void |
ParsedOperationRequestHeader.addTo(CommandContext ctx,
org.jboss.dmr.ModelNode headers) |
void |
CommandLineParser.CallbackHandler.header(String name,
String value,
int nameValueSeparator) |
ParsingStateCallbackHandler |
CommandLineParser.CallbackHandler.headerName(int index,
String name) |
void |
CommandLineParser.CallbackHandler.headerNameValueSeparator(int nameValueSeparator) |
void |
CommandLineParser.CallbackHandler.operationName(int index,
String operationName) |
void |
CommandLineParser.CallbackHandler.outputTarget(int index,
String outputTarget) |
void |
CommandLineParser.CallbackHandler.property(String name,
String value,
int nameValueSeparatorIndex) |
void |
CommandLineParser.CallbackHandler.propertyName(int index,
String propertyName) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleParsedOperationRequestHeader.addTo(CommandContext ctx,
org.jboss.dmr.ModelNode headers) |
void |
ParsedRolloutPlanHeader.addTo(CommandContext ctx,
org.jboss.dmr.ModelNode headers) |
void |
SingleRolloutPlanGroup.addTo(org.jboss.dmr.ModelNode inSeries) |
void |
ConcurrentRolloutPlanGroup.addTo(org.jboss.dmr.ModelNode inSeries) |
void |
RolloutPlanGroup.addTo(org.jboss.dmr.ModelNode inSeries) |
void |
DefaultCallbackHandler.header(String name,
String value,
int valueIndex) |
ParsingStateCallbackHandler |
DefaultCallbackHandler.headerName(int index,
String headerName) |
void |
DefaultCallbackHandler.parse(OperationRequestAddress initialAddress,
String argsStr) |
void |
DefaultCallbackHandler.parse(OperationRequestAddress initialAddress,
String argsStr,
boolean validation) |
void |
DefaultCallbackHandler.parseHeaders(String argsStr) |
void |
DefaultCallbackHandler.parseOperation(OperationRequestAddress prefix,
String argsStr) |
org.jboss.dmr.ModelNode |
SingleRolloutPlanGroup.toModelNode() |
org.jboss.dmr.ModelNode |
ConcurrentRolloutPlanGroup.toModelNode() |
org.jboss.dmr.ModelNode |
RolloutPlanGroup.toModelNode() |
org.jboss.dmr.ModelNode |
DefaultCallbackHandler.toOperationRequest(CommandContext ctx) |
Constructor and Description |
---|
SimpleParsedOperationRequestHeader(String name,
String value) |
Modifier and Type | Method and Description |
---|---|
void |
ParsingStateCallbackHandler.character(ParsingContext ctx) |
void |
ParsingStateCallbackHandler.enteredState(ParsingContext ctx) |
void |
ParsingContext.enterState(ParsingState state) |
void |
EnterStateCharacterHandler.handle(ParsingContext ctx) |
void |
CharacterHandler.handle(ParsingContext ctx) |
ParsingState |
ParsingContext.leaveState() |
void |
ParsingStateCallbackHandler.leavingState(ParsingContext ctx) |
static void |
ParserUtil.parse(String commandLine,
CommandLineParser.CallbackHandler handler) |
static void |
ParserUtil.parse(String str,
CommandLineParser.CallbackHandler handler,
ParsingState initialState) |
void |
StateParser.parse(String str,
ParsingStateCallbackHandler callbackHandler) |
static void |
StateParser.parse(String str,
ParsingStateCallbackHandler callbackHandler,
ParsingState initialState) |
static void |
ParserUtil.parseCommandArgs(String commandLine,
CommandLineParser.CallbackHandler handler) |
static void |
ParserUtil.parseHeaders(String commandLine,
CommandLineParser.CallbackHandler handler) |
static void |
ParserUtil.parseOperationRequest(String commandLine,
CommandLineParser.CallbackHandler handler) |
void |
ParsingContext.reenterState() |
Modifier and Type | Method and Description |
---|---|
void |
RolloutPlanHeaderCallbackHandler.character(ParsingContext ctx) |
void |
RolloutPlanHeaderCallbackHandler.enteredState(ParsingContext ctx) |
void |
RolloutPlanHeaderCallbackHandler.leavingState(ParsingContext ctx) |
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.