Package org.appng.cli.commands.site
Class SetSiteActive
- java.lang.Object
-
- org.appng.cli.commands.site.SetSiteActive
-
- All Implemented Interfaces:
ExecutableCliCommand
public class SetSiteActive extends Object implements ExecutableCliCommand
Activates/deactivates a site.
Usage: appng site-setactive [options] Options: * -n The site name. * -d Deactivate the site.
- Author:
- Matthias Müller
-
-
Constructor Summary
Constructors Constructor Description SetSiteActive()
-
-
-
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
-
-