Package tigase.component.adhoc

# Interface AdHocCommand

All Known Implementing Classes:
  `AbstractAdHocCommand`, `AbstractCredentialsCommand`, `AddScriptTaskCommand`, `AddTimerScriptTaskCommand`, `AddUserCredentials`, `ConfiguratorCommand`, `ConfigureTaskCommand`, `DeleteScriptTaskCommand`, `DeleteUserCredentials`, `InfoTaskCommand`, `PushNotifications.AbstractAdhocCommand`, `PushNotifications.DisableDeviceAdHocCommand`, `PushNotifications.ListDevicesAdhocCommand`, `RTBLAddCommand`, `RTBLDeleteCommand`, `ShowUserCredentials`

public interface AdHocCommand

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### 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)