Interface CommandResult

All Known Implementing Classes:
ClientCommandResult, DumpCommandResult, ErrorCommandResult, LaunchClientCommand.LaunchCommandResult, LookClientCommand.LookClientCommandResult, RobotsCommand.RobotsCommandResult, StateClientCommand.StateCommandResult

public interface CommandResult
Interface that allows us to abstract the similarities of all command results
  • Method Details

    • writeToDisk

      void writeToDisk()
      Allows us to write our output to disk
    • toString

      String toString()
      Standard toString for developer use
      Overrides:
      toString in class Object
      Returns:
      Standard String that's developer readable
    • getInternalResponseCode

      InternalResponseCode getInternalResponseCode()
      Explicitly forces Command Results to return a responseCode
      Returns:
      a response code