public class DeployHandler extends DeploymentHandler
accessRequirement, headers, params, requiredAddress
helpArg
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,
Boolean disabled) |
protected org.jboss.dmr.ModelNode |
buildDeploymentReplace(File f,
String name,
String runtimeName,
boolean disabled) |
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,
boolean disabled) |
protected AccessRequirement |
setupAccessRequirement(CommandContext ctx) |
activateNewBatch, buildReadDeploymentResourceRequest, discardBatch, extractArchive, getDeploymentDescriptions, isCliArchive, listDeployments
isBatchMode
addArgument, addHeaders, addRequiredPath, addRequiredPath, buildRequest, buildRequestWOValidation, cliEvent, displayResponseHeaders, getRequiredAddress, getRequiredType, handleAttachedFile, handleResponse, handleResponse, isAddressValid, isAvailable, isDependsOnProfile, setParams
handle, printHelp, printList
getArgument, getArguments, hasArgument, hasArgument, recognizeArguments
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getArgument, getArguments, handle, hasArgument, hasArgument
public DeployHandler(CommandContext ctx)
protected AccessRequirement setupAccessRequirement(CommandContext ctx)
setupAccessRequirement
in class BaseOperationCommand
protected void doHandle(CommandContext ctx) throws CommandLineException
doHandle
in class BaseOperationCommand
CommandLineException
public org.jboss.dmr.ModelNode buildRequestWithoutHeaders(CommandContext ctx) throws CommandFormatException
buildRequestWithoutHeaders
in class BaseOperationCommand
CommandFormatException
protected org.jboss.dmr.ModelNode buildDeploymentReplace(File f, String name, String runtimeName, boolean disabled) throws OperationFormatException
OperationFormatException
protected org.jboss.dmr.ModelNode buildDeploymentAdd(File f, String name, String runtimeName, boolean unmanaged, Boolean disabled) throws OperationFormatException
OperationFormatException
protected void execute(CommandContext ctx, org.jboss.dmr.ModelNode request, File f, boolean unmanaged) throws CommandFormatException
CommandFormatException
protected org.jboss.dmr.ModelNode buildAddRequest(CommandContext ctx, File f, URL url, String name, String runtimeName, boolean unmanaged) throws CommandFormatException
CommandFormatException
protected void replaceDeployment(CommandContext ctx, File f, URL url, String name, String runtimeName, boolean disabled) throws CommandFormatException
CommandFormatException
protected void addRequiresDeployment() throws CommandFormatException
CommandFormatException
protected void forceRequiresDeployment() throws CommandFormatException
CommandFormatException
protected void argumentRequiresDeployment(ArgumentWithoutValue arg) throws CommandFormatException
CommandFormatException
Copyright © 2023 JBoss by Red Hat. All rights reserved.