org.appng.cli.commands.application

## Class DeactivateApplication

- java.lang.Object
- - org.appng.cli.commands.application.BaseApplication
  - - org.appng.cli.commands.application.DeactivateApplication

- All Implemented Interfaces:
    ExecutableCliCommand

      public class DeactivateApplication
      extends BaseApplication
      implements ExecutableCliCommand

  Unlinks a application from a site.

       Usage: appng deactivate-application [options]
         Options:
         * -a
              The application name.
         * -s
              The site name.

  Author:
    Matthias Herlitzius

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.appng.cli.commands.application.BaseApplication

      `BaseApplication.Mode`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DeactivateApplication()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `execute(CliEnvironment cle)` Executes the command.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DeactivateApplication

          public DeactivateApplication()

  - ### Method Detail

    - #### execute

          public void execute(CliEnvironment cle)
                       throws BusinessException

      Description copied from interface: `ExecutableCliCommand`
      Executes the command.
      Specified by:
        `execute` in interface `ExecutableCliCommand`
      Parameters:
        `cle` - the `CliEnvironment` to use
      Throws:
        `BusinessException` - if on error occurs while executing the command

Copyright © 2011–2023 aiticon GmbH. All rights reserved.