Package org.jboss.as.cli.handlers.report
Class InstallationReportHandler
- java.lang.Object
-
- org.jboss.as.cli.handlers.CommandHandlerWithArguments
-
- org.jboss.as.cli.handlers.CommandHandlerWithHelp
-
- org.jboss.as.cli.handlers.BaseOperationCommand
-
- org.jboss.as.cli.handlers.report.InstallationReportHandler
-
- All Implemented Interfaces:
CliEventListener,CommandHandler,OperationCommand
public class InstallationReportHandler extends BaseOperationCommand
CLI command to download the installation report.- Author:
- Emmanuel Hugonnet (c) 2015 Red Hat, inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.as.cli.OperationCommand
OperationCommand.HandledRequest
-
-
Field Summary
-
Fields inherited from class org.jboss.as.cli.handlers.BaseOperationCommand
accessRequirement, headers, params, requiredAddress
-
Fields inherited from class org.jboss.as.cli.handlers.CommandHandlerWithHelp
helpArg
-
-
Constructor Summary
Constructors Constructor Description InstallationReportHandler(CommandContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.jboss.dmr.ModelNodebuildRequestWithoutHeaders(CommandContext ctx)protected voiddisplayResponseHeaders(CommandContext ctx, org.jboss.dmr.ModelNode response)protected voidhandleAttachedFile(CommandContext ctx, OperationResponse operationResponse)-
Methods inherited from class org.jboss.as.cli.handlers.BaseOperationCommand
addArgument, addHeaders, addRequiredPath, addRequiredPath, buildRequest, buildRequestWOValidation, cliEvent, doHandle, getAttachments, getRequiredAddress, getRequiredType, handleResponse, handleResponse, isAddressValid, isAvailable, isDependsOnProfile, setParams, setupAccessRequirement
-
Methods inherited from class org.jboss.as.cli.handlers.CommandHandlerWithHelp
displayHelp, handle, isBatchMode, printHelp, printList
-
Methods inherited from class org.jboss.as.cli.handlers.CommandHandlerWithArguments
getArgument, getArguments, getArgumentsMap, hasArgument, hasArgument, recognizeArguments
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.as.cli.CommandHandler
getArgument, getArguments, handle, hasArgument, hasArgument, isBatchMode
-
Methods inherited from interface org.jboss.as.cli.OperationCommand
buildHandledRequest, buildRequest
-
-
-
-
Constructor Detail
-
InstallationReportHandler
public InstallationReportHandler(CommandContext ctx)
-
-
Method Detail
-
buildRequestWithoutHeaders
protected org.jboss.dmr.ModelNode buildRequestWithoutHeaders(CommandContext ctx) throws CommandFormatException
- Specified by:
buildRequestWithoutHeadersin classBaseOperationCommand- Throws:
CommandFormatException
-
handleAttachedFile
protected void handleAttachedFile(CommandContext ctx, OperationResponse operationResponse) throws CommandLineException
- Overrides:
handleAttachedFilein classBaseOperationCommand- Throws:
CommandLineException
-
displayResponseHeaders
protected void displayResponseHeaders(CommandContext ctx, org.jboss.dmr.ModelNode response)
- Overrides:
displayResponseHeadersin classBaseOperationCommand
-
-