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.
|
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 |
OperationRequestHandler.buildRequest(CommandContext ctx) |
org.jboss.dmr.ModelNode |
BaseOperationCommand.buildRequest(CommandContext ctx) |
org.jboss.dmr.ModelNode |
ReadAttributeHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
DeploymentInfoHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
ArchiveHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
ReadOperationHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
UndeployHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
GenericTypeOperationHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
DeployHandler.buildRequestWithoutHeaders(CommandContext ctx) |
protected abstract org.jboss.dmr.ModelNode |
BaseOperationCommand.buildRequestWithoutHeaders(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
GenericTypeOperationHandler.buildWritePropertyRequest(CommandContext ctx) |
protected void |
LsHandler.doHandle(CommandContext ctx) |
protected void |
ArchiveHandler.doHandle(CommandContext ctx) |
protected void |
PrefixHandler.doHandle(CommandContext ctx) |
protected void |
HistoryHandler.doHandle(CommandContext ctx) |
protected void |
UndeployHandler.doHandle(CommandContext ctx) |
protected void |
DeployHandler.doHandle(CommandContext ctx) |
protected void |
CommandCommandHandler.doHandle(CommandContext ctx) |
protected void |
EchoDMRHandler.doHandle(CommandContext ctx) |
protected void |
DeployHandler.execute(CommandContext ctx,
org.jboss.dmr.ModelNode request,
File f) |
protected StringBuilder |
ReadAttributeHandler.formatResponse(CommandContext ctx,
org.jboss.dmr.ModelNode opResponse,
boolean composite,
StringBuilder buf) |
protected StringBuilder |
GenericTypeOperationHandler.formatResponse(CommandContext ctx,
org.jboss.dmr.ModelNode opResponse,
boolean composite,
StringBuilder buf) |
protected OperationRequestAddress |
ReadAttributeHandler.getAddress(CommandContext ctx) |
protected OperationRequestAddress |
ReadOperationHandler.getAddress(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 |
HelpHandler.handle(CommandContext ctx) |
void |
VersionHandler.handle(CommandContext ctx) |
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 void |
ReadOperationHandler.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 |
BaseOperationCommand.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) |
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 |
GenericTypeOperationHandler.printNodeDescription(CommandContext ctx) |
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) |
Modifier and Type | Method and Description |
---|---|
protected void |
BatchRemoveLineHandler.doHandle(CommandContext ctx) |
protected void |
BatchListHandler.doHandle(CommandContext ctx) |
protected void |
BatchRunHandler.doHandle(CommandContext ctx) |
protected void |
BatchClearHandler.doHandle(CommandContext ctx) |
protected void |
BatchHoldbackHandler.doHandle(CommandContext ctx) |
protected void |
BatchMoveLineHandler.doHandle(CommandContext ctx) |
protected void |
BatchHandler.doHandle(CommandContext ctx) |
protected void |
BatchDiscardHandler.doHandle(CommandContext ctx) |
protected void |
BatchEditLineHandler.doHandle(CommandContext ctx) |
Modifier and Type | Method and Description |
---|---|
org.jboss.dmr.ModelNode |
NoArgDataSourceOperationHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
BaseDataSourceModifyHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
BaseDataSourceAddHandler.buildRequestWithoutHeaders(CommandContext ctx) |
protected void |
BaseDataSourceModifyHandler.setParams(CommandContext ctx,
org.jboss.dmr.ModelNode request) |
Modifier and Type | Method and Description |
---|---|
org.jboss.dmr.ModelNode |
JmsCFRemoveHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
JmsQueueRemoveHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
JmsTopicRemoveHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
JmsCFAddHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
JmsQueueAddHandler.buildRequestWithoutHeaders(CommandContext ctx) |
org.jboss.dmr.ModelNode |
JmsTopicAddHandler.buildRequestWithoutHeaders(CommandContext ctx) |
Modifier and Type | Method and Description |
---|---|
boolean |
ArgumentWithoutValue.canAppearNext(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
HeadersArgumentValueConverter.fromNonDMRString(String value) |
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 |
RequestParameterArgument.set(ParsedCommandLine args,
org.jboss.dmr.ModelNode request) |
void |
RequiredRequestParamArg.set(ParsedCommandLine args,
org.jboss.dmr.ModelNode request) |
void |
RequestParamArgWithoutValue.set(ParsedCommandLine args,
org.jboss.dmr.ModelNode request) |
void |
RequestParamArgWithValue.set(ParsedCommandLine args,
org.jboss.dmr.ModelNode request) |
void |
RequestParamPropertiesArg.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 |
ParsedRolloutPlanHeader.addTo(CommandContext ctx,
org.jboss.dmr.ModelNode headers) |
void |
SimpleParsedOperationRequestHeader.addTo(CommandContext ctx,
org.jboss.dmr.ModelNode headers) |
void |
SingleRolloutPlanGroup.addTo(org.jboss.dmr.ModelNode inSeries) |
void |
RolloutPlanGroup.addTo(org.jboss.dmr.ModelNode inSeries) |
void |
ConcurrentRolloutPlanGroup.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 |
RolloutPlanGroup.toModelNode() |
org.jboss.dmr.ModelNode |
ConcurrentRolloutPlanGroup.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 |
CharacterHandler.handle(ParsingContext ctx) |
void |
EnterStateCharacterHandler.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 © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.