public class DeployHandler extends BatchModeCommandHandler
headers, params, requiredAddress
helpArg
Constructor and Description |
---|
DeployHandler(CommandContext ctx) |
Modifier and Type | Method and Description |
---|---|
protected org.jboss.dmr.ModelNode |
buildAddRequest(CommandContext ctx,
File f,
String name,
String runtimeName) |
protected org.jboss.dmr.ModelNode |
buildDeploymentAdd(File f,
String name,
String runtimeName) |
protected org.jboss.dmr.ModelNode |
buildDeploymentReplace(File f,
String name,
String runtimeName) |
protected org.jboss.dmr.ModelNode |
buildReadDeploymentResourceRequest(String name) |
org.jboss.dmr.ModelNode |
buildRequestWithoutHeaders(CommandContext ctx) |
protected void |
doHandle(CommandContext ctx) |
protected void |
execute(CommandContext ctx,
org.jboss.dmr.ModelNode request,
File f) |
protected org.jboss.dmr.ModelNode |
getDeploymentDescriptions(CommandContext ctx,
List<String> names) |
protected void |
listDeployments(CommandContext ctx,
boolean l) |
protected byte[] |
readBytes(File f) |
protected void |
replaceDeployment(CommandContext ctx,
File f,
String name,
String runtimeName) |
isBatchMode
addArgument, addHeaders, addRequiredPath, addRequiredPath, buildRequest, cliEvent, getRequiredAddress, getRequiredType, handleResponse, isAvailable, isDependsOnProfile, setParams
handle, printHelp, printList
getArguments, hasArgument, hasArgument
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getArguments, handle, hasArgument, hasArgument
public DeployHandler(CommandContext ctx)
protected void doHandle(CommandContext ctx) throws CommandFormatException
doHandle
in class BaseOperationCommand
CommandFormatException
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) throws OperationFormatException
OperationFormatException
protected org.jboss.dmr.ModelNode buildDeploymentAdd(File f, String name, String runtimeName) throws OperationFormatException
OperationFormatException
protected void execute(CommandContext ctx, org.jboss.dmr.ModelNode request, File f) throws CommandFormatException
CommandFormatException
protected org.jboss.dmr.ModelNode buildAddRequest(CommandContext ctx, File f, String name, String runtimeName)
protected void replaceDeployment(CommandContext ctx, File f, String name, String runtimeName) throws CommandFormatException
CommandFormatException
protected byte[] readBytes(File f) throws OperationFormatException
OperationFormatException
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)
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.