Class CommandInput

  • All Implemented Interfaces:
    Input

    public class CommandInput
    extends com.globalmentor.model.AbstractHashObject
    implements Input
    User input in the form of a command.
    Author:
    Garret Wilson
    • Constructor Summary

      Constructors 
      Constructor Description
      CommandInput​(Command command)
      Command constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Command getCommand()  
      • Methods inherited from class com.globalmentor.model.AbstractHashObject

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CommandInput

        public CommandInput​(Command command)
        Command constructor.
        Parameters:
        command - The command.
        Throws:
        java.lang.NullPointerException - if the given command is null.
    • Method Detail

      • getCommand

        public Command getCommand()
        Returns:
        The command.