Package com.io7m.idstore.server.internal.user

# Class IdUCommandExecutor

java.lang.Object
com.io7m.idstore.server.internal.user.IdUCommandExecutor

All Implemented Interfaces:
  `IdCommandExecutorType<IdUCommandContext,IdUCommandType<? extends IdUResponseType>,IdUResponseType>`

public final class IdUCommandExecutor extends Object implements IdCommandExecutorType<IdUCommandContext,IdUCommandType<? extends IdUResponseType>,IdUResponseType>
A command executor for public commands.

- ## Constructor Summary

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `IdUResponseType`
  `execute(IdUCommandContext context, IdUCommandType<? extends IdUResponseType> command)`
  Execute a command.

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

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

- ## Constructor Details

  - ### IdUCommandExecutor

    public IdUCommandExecutor()
    A command executor for public commands.

- ## Method Details

  - ### execute

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