public class DeployHandler extends DeploymentHandler
accessRequirement, headers, params, requiredAddresshelpArg| Constructor and Description |
|---|
DeployHandler(CommandContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addRequiresDeployment() |
protected void |
argumentRequiresDeployment(ArgumentWithoutValue arg) |
protected org.jboss.dmr.ModelNode |
buildAddRequest(CommandContext ctx,
File f,
URL url,
String name,
String runtimeName,
boolean unmanaged) |
protected org.jboss.dmr.ModelNode |
buildDeploymentAdd(File f,
String name,
String runtimeName,
boolean unmanaged) |
protected org.jboss.dmr.ModelNode |
buildDeploymentReplace(File f,
String name,
String runtimeName) |
org.jboss.dmr.ModelNode |
buildRequestWithoutHeaders(CommandContext ctx) |
protected void |
doHandle(CommandContext ctx) |
protected void |
execute(CommandContext ctx,
org.jboss.dmr.ModelNode request,
File f,
boolean unmanaged) |
protected void |
forceRequiresDeployment() |
protected void |
replaceDeployment(CommandContext ctx,
File f,
URL url,
String name,
String runtimeName) |
protected AccessRequirement |
setupAccessRequirement(CommandContext ctx) |
activateNewBatch, buildReadDeploymentResourceRequest, discardBatch, extractArchive, getDeploymentDescriptions, isCliArchive, listDeploymentsisBatchModeaddArgument, addHeaders, addRequiredPath, addRequiredPath, buildRequest, buildRequestWOValidation, cliEvent, displayResponseHeaders, getRequiredAddress, getRequiredType, handleResponse, isAddressValid, isAvailable, isDependsOnProfile, setParamshandle, printHelp, printListgetArgument, getArguments, hasArgument, hasArgument, recognizeArgumentsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetArgument, getArguments, handle, hasArgument, hasArgumentpublic DeployHandler(CommandContext ctx)
protected AccessRequirement setupAccessRequirement(CommandContext ctx)
setupAccessRequirement in class BaseOperationCommandprotected void doHandle(CommandContext ctx) throws CommandLineException
doHandle in class BaseOperationCommandCommandLineExceptionpublic org.jboss.dmr.ModelNode buildRequestWithoutHeaders(CommandContext ctx) throws CommandFormatException
buildRequestWithoutHeaders in class BaseOperationCommandCommandFormatExceptionprotected org.jboss.dmr.ModelNode buildDeploymentReplace(File f, String name, String runtimeName) throws OperationFormatException
OperationFormatExceptionprotected org.jboss.dmr.ModelNode buildDeploymentAdd(File f, String name, String runtimeName, boolean unmanaged) throws OperationFormatException
OperationFormatExceptionprotected void execute(CommandContext ctx, org.jboss.dmr.ModelNode request, File f, boolean unmanaged) throws CommandFormatException
CommandFormatExceptionprotected org.jboss.dmr.ModelNode buildAddRequest(CommandContext ctx, File f, URL url, String name, String runtimeName, boolean unmanaged) throws CommandFormatException
CommandFormatExceptionprotected void replaceDeployment(CommandContext ctx, File f, URL url, String name, String runtimeName) throws CommandFormatException
CommandFormatExceptionprotected void addRequiresDeployment()
throws CommandFormatException
CommandFormatExceptionprotected void forceRequiresDeployment()
throws CommandFormatException
CommandFormatExceptionprotected void argumentRequiresDeployment(ArgumentWithoutValue arg) throws CommandFormatException
CommandFormatExceptionCopyright © 2014 JBoss by Red Hat. All rights reserved.