Class ClientCommandResult

java.lang.Object
za.co.wethinkcode.robots.server.clientCommands.ClientCommandResult
All Implemented Interfaces:
CommandResult
Direct Known Subclasses:
ErrorCommandResult, LaunchClientCommand.LaunchCommandResult, LookClientCommand.LookClientCommandResult, StateClientCommand.StateCommandResult

public abstract class ClientCommandResult extends Object implements CommandResult
Abstract parent class of the result of a client's command being executed
  • Constructor Details

    • ClientCommandResult

      public ClientCommandResult()
  • Method Details

    • getImplementedClientCommands

      public abstract ImplementedClientCommands getImplementedClientCommands()
      Return the command that this result was evaluating
      Returns:
      which command this is an evaluation of
    • getMessage

      public abstract String getMessage()
      Returns:
      the result's message (useful for debugging)