Interface RuntimeCommand<R,C>

Type Parameters:
C - the command context type
R - the command return type
All Superinterfaces:
Command<R,C,RuntimeException>

public interface RuntimeCommand<R,C> extends Command<R,C,RuntimeException>
A command that does not throw checked exceptions.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(C context)
    Execute this command with the specified context.
  • Method Details

    • execute

      R execute(C context)
      Description copied from interface: Command
      Execute this command with the specified context.
      Specified by:
      execute in interface Command<R,C,RuntimeException>
      Parameters:
      context - the execution context
      Returns:
      the result of this command