public abstract class DeploymentHandler extends BatchModeCommandHandler
accessRequirement, headers, params, requiredAddress
helpArg
Constructor and Description |
---|
DeploymentHandler(CommandContext ctx,
String command,
boolean connectionRequired) |
Modifier and Type | Method and Description |
---|---|
protected String |
activateNewBatch(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
buildReadDeploymentResourceRequest(String name) |
protected void |
discardBatch(CommandContext ctx,
String holdbackBatch) |
protected org.jboss.vfs.spi.MountHandle |
extractArchive(File archive,
org.jboss.vfs.TempFileProvider tempFileProvider) |
protected org.jboss.dmr.ModelNode |
getDeploymentDescriptions(CommandContext ctx,
List<String> names) |
protected boolean |
isCliArchive(File f) |
protected void |
listDeployments(CommandContext ctx,
boolean l) |
isBatchMode
addArgument, addHeaders, addRequiredPath, addRequiredPath, buildRequest, buildRequestWithoutHeaders, buildRequestWOValidation, cliEvent, displayResponseHeaders, doHandle, getRequiredAddress, getRequiredType, handleAttachedFile, handleResponse, handleResponse, isAddressValid, isAvailable, isDependsOnProfile, setParams, setupAccessRequirement
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 DeploymentHandler(CommandContext ctx, String command, boolean connectionRequired)
protected void listDeployments(CommandContext ctx, boolean l) throws CommandFormatException
CommandFormatException
protected org.jboss.dmr.ModelNode getDeploymentDescriptions(CommandContext ctx, List<String> names) throws CommandFormatException
CommandFormatException
protected org.jboss.dmr.ModelNode buildReadDeploymentResourceRequest(String name)
protected org.jboss.vfs.spi.MountHandle extractArchive(File archive, org.jboss.vfs.TempFileProvider tempFileProvider) throws IOException
IOException
protected String activateNewBatch(CommandContext ctx)
protected void discardBatch(CommandContext ctx, String holdbackBatch)
protected boolean isCliArchive(File f)
Copyright © 2023 JBoss by Red Hat. All rights reserved.