public class LsHandler extends BaseOperationCommand
OperationCommand.HandledRequestaccessRequirement, headers, params, requiredAddresshelpArg| Constructor and Description |
|---|
LsHandler(CommandContext ctx) |
LsHandler(CommandContext ctx,
String command) |
| Modifier and Type | Method and Description |
|---|---|
protected org.jboss.dmr.ModelNode |
buildRequestWithoutHeaders(CommandContext ctx) |
Collection<CommandArgument> |
getArguments(CommandContext ctx)
Returns a collection of the command arguments the handler supports in the current context.
|
protected Map<String,CommandArgument> |
getArgumentsMap(CommandContext ctx) |
protected Integer |
getAsInteger(org.jboss.dmr.ModelNode attrDescr,
String name) |
protected String |
getAsString(org.jboss.dmr.ModelNode attrDescr,
String name) |
protected static String |
getNodePath(String nodePathString) |
protected void |
handleResponse(CommandContext ctx,
org.jboss.dmr.ModelNode outcome,
boolean composite) |
protected void |
recognizeArguments(CommandContext ctx) |
addArgument, addHeaders, addRequiredPath, addRequiredPath, buildRequest, buildRequestWOValidation, cliEvent, displayResponseHeaders, doHandle, getAttachments, getRequiredAddress, getRequiredType, handleAttachedFile, handleResponse, isAddressValid, isAvailable, isDependsOnProfile, setParams, setupAccessRequirementdisplayHelp, handle, isBatchMode, printHelp, printListgetArgument, hasArgument, hasArgumentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildHandledRequest, buildRequestgetArgument, handle, hasArgument, hasArgument, isBatchModepublic LsHandler(CommandContext ctx)
public LsHandler(CommandContext ctx, String command)
protected void recognizeArguments(CommandContext ctx) throws CommandFormatException
recognizeArguments in class CommandHandlerWithArgumentsCommandFormatExceptionprotected void handleResponse(CommandContext ctx, org.jboss.dmr.ModelNode outcome, boolean composite) throws CommandLineException
handleResponse in class BaseOperationCommandCommandLineExceptionprotected org.jboss.dmr.ModelNode buildRequestWithoutHeaders(CommandContext ctx) throws CommandFormatException
buildRequestWithoutHeaders in class BaseOperationCommandCommandFormatExceptionprotected Map<String,CommandArgument> getArgumentsMap(CommandContext ctx)
getArgumentsMap in class CommandHandlerWithArgumentspublic Collection<CommandArgument> getArguments(CommandContext ctx)
CommandHandlergetArguments in interface CommandHandlergetArguments in class CommandHandlerWithArgumentsctx - current command line contextCopyright © 2018 JBoss by Red Hat. All rights reserved.