Package tigase.component.adhoc

## Interface AdHocCommand

- All Known Implementing Classes:
    `AbstractAdHocCommand`, `AbstractCredentialsCommand`, `AddScriptTaskCommand`, `AddTimerScriptTaskCommand`, `AddUserCredentials`, `ConfiguratorCommand`, `ConfigureTaskCommand`, `CreateWorkgroupQueue`, `DeleteScriptTaskCommand`, `DeleteUserCredentials`, `DeleteWorkgroupQueue`, `InfoTaskCommand`, `ShowUserCredentials`

      public interface AdHocCommand

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `execute​(AdhHocRequest request, AdHocResponse response)` |
    `default void` | `execute​(AdhHocRequest request, AdHocResponse response, java.lang.Runnable completionHandler, java.util.function.Consumer<AdHocCommandException> exceptionHandler)` |
    `default java.util.Optional<java.lang.String>` | `getGroup()` |
    `java.lang.String` | `getName()` |
    `java.lang.String` | `getNode()` |
    `boolean` | `isAllowedFor​(JID jid)` |

- - ### Method Detail

    - #### execute

          void execute​(AdhHocRequest request,
                       AdHocResponse response)
                throws AdHocCommandException

      Throws:
        `AdHocCommandException`

    - #### execute

          default void execute​(AdhHocRequest request,
                               AdHocResponse response,
                               java.lang.Runnable completionHandler,
                               java.util.function.Consumer<AdHocCommandException> exceptionHandler)
                        throws AdHocCommandException

      Throws:
        `AdHocCommandException`

    - #### getName

          java.lang.String getName()

    - #### getNode

          java.lang.String getNode()

    - #### getGroup

          default java.util.Optional<java.lang.String> getGroup()

    - #### isAllowedFor

          boolean isAllowedFor​(JID jid)