public class ShutdownHandler extends BaseOperationCommand
OperationCommand.HandledRequestaccessRequirement, headers, params, requiredAddresshelpArg| Constructor and Description |
|---|
ShutdownHandler(CommandContext ctx,
AtomicReference<EmbeddedProcessLaunch> embeddedServerRef) |
| Modifier and Type | Method and Description |
|---|---|
protected org.jboss.dmr.ModelNode |
buildRequestWithoutHeaders(CommandContext ctx) |
protected void |
doHandle(CommandContext ctx) |
boolean |
isAvailable(CommandContext ctx)
Checks whether the command is available in the current context
(e.g.
|
protected boolean |
isLocalHost(ModelControllerClient client,
String host) |
protected void |
setBooleanArgument(ParsedCommandLine args,
org.jboss.dmr.ModelNode op,
ArgumentWithValue arg,
String paramName) |
protected AccessRequirement |
setupAccessRequirement(CommandContext ctx) |
addArgument, addHeaders, addRequiredPath, addRequiredPath, buildRequest, buildRequestWOValidation, cliEvent, displayResponseHeaders, getAttachments, getRequiredAddress, getRequiredType, handleAttachedFile, handleResponse, handleResponse, isAddressValid, isDependsOnProfile, setParamsdisplayHelp, handle, isBatchMode, printHelp, printListgetArgument, getArguments, getArgumentsMap, hasArgument, hasArgument, recognizeArgumentsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildHandledRequest, buildRequestgetArgument, getArguments, handle, hasArgument, hasArgument, isBatchModepublic ShutdownHandler(CommandContext ctx, AtomicReference<EmbeddedProcessLaunch> embeddedServerRef)
protected AccessRequirement setupAccessRequirement(CommandContext ctx)
setupAccessRequirement in class BaseOperationCommandpublic boolean isAvailable(CommandContext ctx)
CommandHandlerisAvailable in interface CommandHandlerisAvailable in class BaseOperationCommandctx - current contextprotected void doHandle(CommandContext ctx) throws CommandLineException
doHandle in class BaseOperationCommandCommandLineExceptionprotected org.jboss.dmr.ModelNode buildRequestWithoutHeaders(CommandContext ctx) throws CommandFormatException
buildRequestWithoutHeaders in class BaseOperationCommandCommandFormatExceptionprotected boolean isLocalHost(ModelControllerClient client, String host) throws CommandLineException
CommandLineExceptionprotected void setBooleanArgument(ParsedCommandLine args, org.jboss.dmr.ModelNode op, ArgumentWithValue arg, String paramName) throws CommandFormatException
CommandFormatExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.