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(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) |
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.
|
static void |
Util.replaceFilePathsWithBytes(org.jboss.dmr.ModelNode request,
org.jboss.dmr.ModelNode opDescOutcome) |
BatchedCommand |
CommandContext.toBatchedCommand(String line)
Builds an operation request from the passed in command line.
|
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 |
---|---|
org.jboss.dmr.ModelNode |
CommandExecutor.doCommand(String command)
Submit a command to the server.
|
CommandExecutor.Response |
CommandExecutor.doCommandFullResponse(String command)
User-initiated commands use this method.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BaseOperationCommand.addHeaders(CommandContext ctx,
org.jboss.dmr.ModelNode request) |
protected void |
DeployHandler.addRequiresDeployment() |
protected void |
DeployHandler.argumentRequiresDeployment(ArgumentWithoutValue arg) |
protected void |
DeploymentOverlayHandler.assertNotPresent(ArgumentWithoutValue arg,
ParsedCommandLine args) |
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) |
protected void |
EchoDMRHandler.doHandle(CommandContext ctx) |
protected void |
HistoryHandler.doHandle(CommandContext ctx) |
protected void |
EchoVariableHandler.doHandle(CommandContext ctx) |
protected void |
DeployHandler.execute(CommandContext ctx,
org.jboss.dmr.ModelNode request,
File f,
boolean unmanaged) |
protected void |
DeployHandler.forceRequiresDeployment() |
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 |
ReadAttributeHandler.getAddress(CommandContext ctx) |
protected OperationRequestAddress |
ReadOperationHandler.getAddress(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
DeploymentHandler.getDeploymentDescriptions(CommandContext ctx,
List<String> names) |
protected String[] |
DeploymentOverlayHandler.getLinks(ArgumentWithValue linksArg,
ParsedCommandLine args) |
protected List<org.jboss.dmr.Property> |
CommandCommandHandler.getNodeProperties(CommandContext ctx) |
protected List<String> |
DeploymentOverlayHandler.getServerGroupsToLink(CommandContext ctx) |
void |
VersionHandler.handle(CommandContext ctx) |
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 |
ReadOperationHandler.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 |
DeploymentHandler.listDeployments(CommandContext ctx,
boolean l) |
protected void |
GenericTypeOperationHandler.printNodeDescription(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 void |
DeployHandler.replaceDeployment(CommandContext ctx,
File f,
URL url,
String name,
String runtimeName,
boolean disabled) |
protected void |
ReloadHandler.setBooleanArgument(ParsedCommandLine args,
org.jboss.dmr.ModelNode op,
ArgumentWithValue arg,
String paramName) |
protected void |
ShutdownHandler.setBooleanArgument(ParsedCommandLine args,
org.jboss.dmr.ModelNode op,
ArgumentWithValue arg,
String paramName) |
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 org.jboss.dmr.ModelNode |
BatchRunHandler.buildRequestWithoutHeaders(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
BatchRunHandler.buildRequestWOValidation(CommandContext ctx) |
protected void |
BatchListHandler.doHandle(CommandContext ctx) |
protected void |
BatchMoveLineHandler.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 |
BatchEditLineHandler.recognizeArguments(CommandContext ctx) |
Modifier and Type | Method and Description |
---|---|
String |
ConditionArgument.getResolvedValue(ParsedCommandLine parsedLine,
boolean required) |
Operation |
ConditionArgument.resolveOperation(ParsedCommandLine parsedLine) |
Constructor and Description |
---|
ModelNodePathOperand(String pathStr) |
Modifier and Type | Method and Description |
---|---|
protected org.jboss.dmr.ModelNode |
XADataSourceAddCompositeHandler.buildRequestWithoutHeaders(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
JDBCDriverInfoHandler.buildRequestWithoutHeaders(CommandContext ctx) |
Modifier and Type | Method and Description |
---|---|
protected org.jboss.dmr.ModelNode |
InstallationReportHandler.buildRequestWithoutHeaders(CommandContext ctx) |
Modifier and Type | Method and Description |
---|---|
boolean |
ArgumentWithoutValue.canAppearNext(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
HeadersArgumentValueConverter.fromNonDMRString(CommandContext ctx,
String value) |
String |
ArgumentWithValue.getOriginalValue(ParsedCommandLine parsedLine,
boolean required)
Returns value as it appeared on the command line with escape sequences
and system properties not resolved.
|
String |
ArgumentWithValue.getResolvedValue(ParsedCommandLine parsedLine,
boolean required)
Calls getOriginalValue(ParsedCommandLine parsedLine, boolean required) and correctly
handles escape sequences and resolves system properties.
|
String |
ArgumentWithListValue.getValue(ParsedCommandLine args,
boolean required) |
String |
ArgumentWithoutValue.getValue(ParsedCommandLine args,
boolean required) |
String |
FileSystemPathArgument.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) |
protected org.jboss.as.cli.impl.AttributeNamePathCompleter.AttributeNamePathCallbackHandler |
AttributeNamePathCompleter.parse(String line) |
protected org.jboss.as.cli.impl.ValueTypeCompleter.ValueTypeCallbackHandler |
ValueTypeCompleter.parse(String line) |
static String |
ArgumentWithValue.resolveValue(String value) |
static String |
ArgumentWithValue.resolveValue(String value,
ParsingState initialState) |
void |
RequestParamArgWithoutValue.set(ParsedCommandLine args,
org.jboss.dmr.ModelNode request) |
void |
RequestParameterArgument.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) |
void |
RequiredRequestParamArg.set(ParsedCommandLine args,
org.jboss.dmr.ModelNode request) |
protected static void |
RequestParamPropertiesArg.setPropertyMapValue(org.jboss.dmr.ModelNode request,
String name,
String value) |
org.jboss.dmr.ModelNode |
ArgumentWithValue.toModelNode(CommandContext ctx) |
Modifier and Type | Class and Description |
---|---|
class |
MissingEndCharacterException |
class |
OperationFormatException |
Modifier and Type | Method and Description |
---|---|
void |
CommandLineParser.CallbackHandler.addressOperationSeparator(int index) |
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 |
DefaultCallbackHandler.addressOperationSeparator(int index) |
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)
Deprecated.
|
void |
DefaultCallbackHandler.parse(OperationRequestAddress initialAddress,
String argsStr,
boolean validation)
Deprecated.
|
void |
DefaultCallbackHandler.parse(OperationRequestAddress initialAddress,
String argsStr,
boolean validation,
CommandContext ctx) |
void |
DefaultCallbackHandler.parse(OperationRequestAddress initialAddress,
String argsStr,
CommandContext ctx) |
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 | Class and Description |
---|---|
class |
CommandSubstitutionException |
class |
UnresolvedExpressionException |
class |
UnresolvedVariableException |
Modifier and Type | Method and Description |
---|---|
CommandFormatException |
ParsingContext.getError()
Returns the exception if there was one during parsing or null
if the line was parsed successfully.
|
Modifier and Type | Method and Description |
---|---|
void |
ParsingContext.setError(CommandFormatException e)
Sets the error indicating that there was a problem
during parsing.
|
Modifier and Type | Method and Description |
---|---|
void |
ParsingStateCallbackHandler.character(ParsingContext ctx) |
void |
WordCharacterHandler.doHandle(ParsingContext ctx) |
protected void |
LineBreakHandler.doHandle(ParsingContext ctx) |
protected static String |
StateParser.doParse(String str,
ParsingStateCallbackHandler callbackHandler,
ParsingState initialState,
boolean strict)
Returns the string which was actually parsed with all the substitutions performed
|
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
|
void |
ParsingStateCallbackHandler.enteredState(ParsingContext ctx) |
void |
ParsingContext.enterState(ParsingState state)
Enters the state passed in as the argument which then becomes the current state.
|
void |
EnterStateCharacterHandler.handle(ParsingContext ctx) |
void |
LineBreakHandler.handle(ParsingContext ctx) |
void |
CharacterHandler.handle(ParsingContext ctx) |
ParsingState |
ParsingContext.leaveState()
Leaves the current state and and returns it.
|
void |
ParsingStateCallbackHandler.leavingState(ParsingContext ctx) |
static String |
ParserUtil.parse(String commandLine,
CommandLineParser.CallbackHandler handler)
Returns the string which was actually parsed with all the substitutions performed
|
static String |
ParserUtil.parse(String commandLine,
CommandLineParser.CallbackHandler handler,
boolean strict)
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 |
ParserUtil.parse(String str,
CommandLineParser.CallbackHandler handler,
ParsingState initialState)
Returns the string which was actually parsed with all the substitutions performed
|
String |
StateParser.parse(String str,
ParsingStateCallbackHandler callbackHandler)
Returns the string which was actually parsed with all the substitutions performed
|
static String |
StateParser.parse(String str,
ParsingStateCallbackHandler callbackHandler,
ParsingState initialState)
Returns the string which was actually parsed with all the substitutions performed
|
static String |
StateParser.parse(String str,
ParsingStateCallbackHandler callbackHandler,
ParsingState initialState,
boolean strict)
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
|
static String |
ParserUtil.parseCommandArgs(String commandLine,
CommandLineParser.CallbackHandler handler)
Returns the string which was actually parsed with all the substitutions performed
|
static String |
ParserUtil.parseHeaders(String commandLine,
CommandLineParser.CallbackHandler handler)
Returns the string which was actually parsed with all the substitutions performed
|
static String |
ParserUtil.parseOperationRequest(String commandLine,
CommandLineParser.CallbackHandler handler)
Returns the string which was actually parsed with all the substitutions performed
|
void |
ParsingContext.reenterState()
Leaves the current state and then enters it again.
|
Modifier and Type | Method and Description |
---|---|
void |
ArgumentValueCallbackHandler.character(ParsingContext ctx) |
void |
ArgumentValueCallbackHandler.enteredState(ParsingContext ctx) |
void |
ArgumentValueCallbackHandler.leavingState(ParsingContext ctx) |
Modifier and Type | Method and Description |
---|---|
void |
RolloutPlanHeaderCallbackHandler.character(ParsingContext ctx) |
void |
RolloutPlanHeaderCallbackHandler.enteredState(ParsingContext ctx) |
void |
RolloutPlanHeaderCallbackHandler.leavingState(ParsingContext ctx) |
Copyright © 2023 JBoss by Red Hat. All rights reserved.