Package tigase.component.adhoc

# Interface AdHocCommand

All Known Implementing Classes:
  `AbstractCredentialsCommand`, `AddScriptTaskCommand`, `AddTimerScriptTaskCommand`, `AddUserCredentials`, `ConfiguratorCommand`, `ConfigureTaskCommand`, `DeleteScriptTaskCommand`, `DeleteUserCredentials`, `InfoTaskCommand`, `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)