public class DeploymentOverlayHandler extends BatchModeCommandHandler
accessRequirement, headers, params, requiredAddresshelpArg| Constructor and Description |
|---|
DeploymentOverlayHandler(CommandContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected org.jboss.dmr.ModelNode |
add(CommandContext ctx,
boolean stream) |
protected void |
addAddRedeployLinksSteps(CommandContext ctx,
org.jboss.dmr.ModelNode steps,
String overlay,
String serverGroup,
String[] links,
boolean regexp) |
protected void |
addRedeployStep(org.jboss.dmr.ModelNode steps,
String deployment,
String serverGroup) |
protected void |
addRedeploySteps(org.jboss.dmr.ModelNode steps,
String serverGroup,
String linkName,
org.jboss.dmr.ModelNode link,
List<String> remainingDeployments) |
protected void |
addRemoveRedeployLinksSteps(ModelControllerClient client,
org.jboss.dmr.ModelNode steps,
String overlay,
String sgName,
List<String> specifiedLinks,
boolean removeLinks,
byte redeploy) |
protected void |
assertNotPresent(ArgumentWithoutValue arg,
ParsedCommandLine args) |
protected org.jboss.dmr.ModelNode |
buildRequestWithoutHeaders(CommandContext ctx) |
protected void |
doHandle(CommandContext ctx) |
protected List<String> |
filterLinks(org.jboss.dmr.ModelNode linkResources) |
protected String[] |
getLinks(ArgumentWithValue linksArg,
ParsedCommandLine args) |
protected List<String> |
getServerGroupsToLink(CommandContext ctx) |
boolean |
isBatchMode(CommandContext ctx)
Whether the command supports batch mode or not.
|
protected org.jboss.dmr.ModelNode |
link(CommandContext ctx) |
protected void |
listContent(CommandContext ctx) |
protected void |
listLinks(CommandContext ctx) |
protected List<String> |
loadContentFor(ModelControllerClient client,
String overlay) |
protected org.jboss.dmr.ModelNode |
loadLinkResources(ModelControllerClient client,
String overlay,
String serverGroup) |
protected List<String> |
loadLinks(ModelControllerClient client,
String overlay,
String serverGroup) |
protected org.jboss.dmr.ModelNode |
redeployAffected(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
remove(CommandContext ctx) |
protected AccessRequirement |
setupAccessRequirement(CommandContext ctx) |
protected org.jboss.dmr.ModelNode |
upload(CommandContext ctx,
boolean stream) |
addArgument, 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 DeploymentOverlayHandler(CommandContext ctx)
protected AccessRequirement setupAccessRequirement(CommandContext ctx)
setupAccessRequirement in class BaseOperationCommandpublic boolean isBatchMode(CommandContext ctx)
CommandHandlerisBatchMode in interface CommandHandlerisBatchMode in class BatchModeCommandHandlerctx - the 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 org.jboss.dmr.ModelNode redeployAffected(CommandContext ctx) throws CommandLineException
CommandLineExceptionprotected void listLinks(CommandContext ctx) throws CommandLineException
CommandLineExceptionprotected void listContent(CommandContext ctx) throws CommandLineException
CommandLineExceptionprotected org.jboss.dmr.ModelNode remove(CommandContext ctx) throws CommandLineException
CommandLineExceptionprotected org.jboss.dmr.ModelNode add(CommandContext ctx, boolean stream) throws CommandLineException
CommandLineExceptionprotected org.jboss.dmr.ModelNode link(CommandContext ctx) throws CommandLineException
CommandLineExceptionprotected org.jboss.dmr.ModelNode upload(CommandContext ctx, boolean stream) throws CommandLineException
CommandLineExceptionprotected List<String> loadContentFor(ModelControllerClient client, String overlay) throws CommandLineException
CommandLineExceptionprotected List<String> loadLinks(ModelControllerClient client, String overlay, String serverGroup) throws CommandLineException
CommandLineExceptionprotected org.jboss.dmr.ModelNode loadLinkResources(ModelControllerClient client, String overlay, String serverGroup) throws CommandLineException
CommandLineExceptionprotected void addRedeployStep(org.jboss.dmr.ModelNode steps,
String deployment,
String serverGroup)
protected String[] getLinks(ArgumentWithValue linksArg, ParsedCommandLine args) throws CommandFormatException
CommandFormatExceptionprotected List<String> getServerGroupsToLink(CommandContext ctx) throws CommandFormatException
CommandFormatExceptionprotected void addAddRedeployLinksSteps(CommandContext ctx, org.jboss.dmr.ModelNode steps, String overlay, String serverGroup, String[] links, boolean regexp) throws CommandLineException
CommandLineExceptionprotected void addRemoveRedeployLinksSteps(ModelControllerClient client, org.jboss.dmr.ModelNode steps, String overlay, String sgName, List<String> specifiedLinks, boolean removeLinks, byte redeploy) throws CommandLineException
CommandLineExceptionprotected void addRedeploySteps(org.jboss.dmr.ModelNode steps,
String serverGroup,
String linkName,
org.jboss.dmr.ModelNode link,
List<String> remainingDeployments)
protected void assertNotPresent(ArgumentWithoutValue arg, ParsedCommandLine args) throws CommandFormatException
CommandFormatExceptionCopyright © 2014 JBoss by Red Hat. All rights reserved.