Class DeployUrlCommand
- java.lang.Object
-
- org.jboss.as.cli.impl.aesh.cmd.security.AbstractControlledCommand
-
- org.jboss.as.cli.impl.aesh.cmd.deployment.security.CommandWithPermissions
-
- org.jboss.as.cli.impl.aesh.cmd.deployment.AbstractDeployCommand
-
- org.jboss.as.cli.impl.aesh.cmd.deployment.AbstractDeployContentCommand
-
- org.jboss.as.cli.impl.aesh.cmd.deployment.DeployUrlCommand
-
- All Implemented Interfaces:
org.aesh.command.Command<CLICommandInvocation>,LegacyBridge,BatchCompliantCommand,DMRCommand
public class DeployUrlCommand extends AbstractDeployContentCommand
Deploy an URL. All fields are public to be accessible from legacy commands. To be made private when legacies are removed.- Author:
- jdenise@redhat.com
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeployUrlCommand.UrlConverter-
Nested classes/interfaces inherited from class org.jboss.as.cli.impl.aesh.cmd.deployment.AbstractDeployCommand
AbstractDeployCommand.ServerGroupsCompleter
-
Nested classes/interfaces inherited from interface org.wildfly.core.cli.command.BatchCompliantCommand
BatchCompliantCommand.BatchResponseHandler
-
-
Field Summary
Fields Modifier and Type Field Description URLdeploymentUrlStringname-
Fields inherited from class org.jboss.as.cli.impl.aesh.cmd.deployment.AbstractDeployContentCommand
disabled, enabled, replace, runtimeName
-
Fields inherited from class org.jboss.as.cli.impl.aesh.cmd.deployment.AbstractDeployCommand
allServerGroups, headers, serverGroups
-
-
Constructor Summary
Constructors Constructor Description DeployUrlCommand(CommandContext ctx, String replaceName)Deprecated.DeployUrlCommand(CommandContext ctx, Permissions permissions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddContent(CommandContext ctx, org.jboss.dmr.ModelNode content)protected voidcheckArgument()protected org.jboss.dmr.ModelNodeexecute(CommandContext ctx, org.jboss.dmr.ModelNode request)protected StringgetCommandName()protected StringgetName()-
Methods inherited from class org.jboss.as.cli.impl.aesh.cmd.deployment.AbstractDeployContentCommand
buildDeploymentRequest, buildRequest, createExtraStep, execute, execute, getServerGroups
-
Methods inherited from class org.jboss.as.cli.impl.aesh.cmd.deployment.AbstractDeployCommand
buildBatchResponseHandler
-
Methods inherited from class org.jboss.as.cli.impl.aesh.cmd.deployment.security.CommandWithPermissions
getPermissions
-
Methods inherited from class org.jboss.as.cli.impl.aesh.cmd.security.AbstractControlledCommand
addRequiredPath, addRequiredPath, getAccessRequirement, getCommandContext, getRequiredAddress, getRequiredType, isDependsOnProfile
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.core.cli.command.DMRCommand
buildRequest
-
-
-
-
Constructor Detail
-
DeployUrlCommand
public DeployUrlCommand(CommandContext ctx, Permissions permissions)
-
DeployUrlCommand
@Deprecated public DeployUrlCommand(CommandContext ctx, String replaceName)
Deprecated.
-
-
Method Detail
-
checkArgument
protected void checkArgument() throws org.aesh.command.CommandException- Specified by:
checkArgumentin classAbstractDeployContentCommand- Throws:
org.aesh.command.CommandException
-
getName
protected String getName()
- Specified by:
getNamein classAbstractDeployContentCommand
-
addContent
protected void addContent(CommandContext ctx, org.jboss.dmr.ModelNode content) throws OperationFormatException
- Specified by:
addContentin classAbstractDeployContentCommand- Throws:
OperationFormatException
-
getCommandName
protected String getCommandName()
- Specified by:
getCommandNamein classAbstractDeployContentCommand
-
execute
protected org.jboss.dmr.ModelNode execute(CommandContext ctx, org.jboss.dmr.ModelNode request) throws IOException
- Specified by:
executein classAbstractDeployContentCommand- Throws:
IOException
-
-