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 and Description
    --- | ---
    `void` | `execute(AdhHocRequest request, AdHocResponse response)`
    `default void` | `execute(AdhHocRequest request, AdHocResponse response, Runnable completionHandler, Consumer<AdHocCommandException> exceptionHandler)`
    `default Optional<String>` | `getGroup()`
    `String` | `getName()`
    `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,
                               Runnable completionHandler,
                               Consumer<AdHocCommandException> exceptionHandler)
                        throws AdHocCommandException

      Throws:
        `AdHocCommandException`

    - #### getName

          String getName()

    - #### getNode

          String getNode()

    - #### getGroup

          default Optional<String> getGroup()

    - #### isAllowedFor

          boolean isAllowedFor(JID jid)

Copyright © 2004–2020 "Tigase, Inc.". All rights reserved.