Package com.io7m.idstore.server.controller.admin

# Class IdACommandExecutor

java.lang.Object
com.io7m.idstore.server.controller.admin.IdACommandExecutor

All Implemented Interfaces:
  `IdCommandExecutorType<IdSessionAdmin,IdACommandContext,IdACommandType<? extends IdAResponseType>,IdAResponseType>`

public final class IdACommandExecutor extends Object implements IdCommandExecutorType<IdSessionAdmin,IdACommandContext,IdACommandType<? extends IdAResponseType>,IdAResponseType>
A command executor for public commands.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `IdACommandExecutor()`
  A command executor for public commands.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `IdAResponseType`
  `execute(IdACommandContext context, IdACommandType<? extends IdAResponseType> command)`
  Execute a command.

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

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

- ## Constructor Details

  - ### IdACommandExecutor

    public IdACommandExecutor()
    A command executor for public commands.

- ## Method Details

  - ### execute

    public IdAResponseType execute(IdACommandContext context, IdACommandType<? extends IdAResponseType> command) throws IdCommandExecutionFailure
    Description copied from interface: `IdCommandExecutorType`
    Execute a command.
    Specified by:
      `execute` in interface `IdCommandExecutorType<IdSessionAdmin,IdACommandContext,IdACommandType<? extends IdAResponseType>,IdAResponseType>`
    Parameters:
      `context` - The execution context
      `command` - The command
    Returns:
      The result of execution
    Throws:
      `IdCommandExecutionFailure` - On errors