Class ListPermissions
- java.lang.Object
-
- org.appng.cli.commands.CommandList
-
- org.appng.cli.commands.permission.ListPermissions
-
- All Implemented Interfaces:
ExecutableCliCommand
public class ListPermissions extends CommandList implements ExecutableCliCommand
Lists the availablePermission
s for aApplication
/Role
.
Usage: appng list-permissions [options] Options: * -a The application name. -r The role name. -t Prints tab-separated values instead of a table. Default: false -v Verbose output. Default: false
- Author:
- Matthias Müller
-
-
Field Summary
-
Fields inherited from class org.appng.cli.commands.CommandList
beVerbose, prettyTable, tabbedValues
-
-
Constructor Summary
Constructors Modifier Constructor Description ListPermissions()
protected
ListPermissions(String applicationName, String roleName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(CliEnvironment cle)
Executes the command.-
Methods inherited from class org.appng.cli.commands.CommandList
getPrettyTable, renderTable
-
-
-
-
Method Detail
-
execute
public void execute(CliEnvironment cle) throws BusinessException
Description copied from interface:ExecutableCliCommand
Executes the command.- Specified by:
execute
in interfaceExecutableCliCommand
- Parameters:
cle
- theCliEnvironment
to use- Throws:
BusinessException
- if on error occurs while executing the command
-
-