Package org.appng.cli.commands.group
Class AddGroup
- java.lang.Object
-
- org.appng.cli.commands.group.AddGroup
-
- All Implemented Interfaces:
ExecutableCliCommand
public class AddGroup extends Object implements ExecutableCliCommand
Adds a group to a subject.
Usage: appng add-group [options] Options: -c Clear existing groups of the subject. Default: false * -g The group name. Multiple values can be provided (separated by space). * -u The user name of the subject.
- Author:
- Matthias Herlitzius
-
-
Constructor Summary
Constructors Constructor Description AddGroup()
-
-
-
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
-
-