Package org.appng.cli.commands.subject
Class DeleteSubject
- java.lang.Object
-
- org.appng.cli.commands.subject.DeleteSubject
-
- All Implemented Interfaces:
ExecutableCliCommand
public class DeleteSubject extends Object implements ExecutableCliCommand
Deletes a subject.
Usage: appng delete-subject [options] Options: * -n The subject name.
- Author:
- Matthias Herlitzius
-
-
Constructor Summary
Constructors Constructor Description DeleteSubject()
DeleteSubject(String subjectName)
-
-
-
Constructor Detail
-
DeleteSubject
public DeleteSubject()
-
DeleteSubject
public DeleteSubject(String subjectName)
-
-
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
-
-