Class CommandWithPermissions
- java.lang.Object
-
- org.jboss.as.cli.impl.aesh.cmd.security.AbstractControlledCommand
-
- org.jboss.as.cli.impl.aesh.cmd.deployment.security.CommandWithPermissions
-
- All Implemented Interfaces:
org.aesh.command.Command<CLICommandInvocation>
- Direct Known Subclasses:
AbstractDeployCommand,AbstractUndeployCommand,DeployArchiveCommand,DeploymentCommand,InfoCommand,ListCommand
public abstract class CommandWithPermissions extends AbstractControlledCommand
An abstract deployment related command that depends on some permissions.- Author:
- jdenise@redhat.com
-
-
Constructor Summary
Constructors Constructor Description CommandWithPermissions(CommandContext ctx, Function<CommandContext,AccessRequirement> ac, Permissions permissions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PermissionsgetPermissions()-
Methods inherited from class org.jboss.as.cli.impl.aesh.cmd.security.AbstractControlledCommand
addRequiredPath, addRequiredPath, getAccessRequirement, getCommandContext, getRequiredAddress, getRequiredType, isDependsOnProfile
-
-
-
-
Constructor Detail
-
CommandWithPermissions
public CommandWithPermissions(CommandContext ctx, Function<CommandContext,AccessRequirement> ac, Permissions permissions)
-
-
Method Detail
-
getPermissions
public Permissions getPermissions()
-
-