Class RemoteCommandContainer

    • Constructor Detail

      • RemoteCommandContainer

        public RemoteCommandContainer()
        Initializes the container with a dummy command.

        Only used for generating help information.
      • RemoteCommandContainer

        public RemoteCommandContainer​(String event,
                                      RemoteCommand cmd)
        Initializes the container with the type of event and command but no message.
        Parameters:
        event - the type of event
        cmd - the command
      • RemoteCommandContainer

        public RemoteCommandContainer​(String event,
                                      RemoteCommand cmd,
                                      String msg)
        Initializes the container with the type of event and command but no message.
        Parameters:
        event - the type of event
        cmd - the command
    • Method Detail

      • isValid

        public boolean isValid()
        Checks whether the setup of the container is valid.
        Specified by:
        isValid in interface Container
        Specified by:
        isValid in class AbstractContainer
        Returns:
        true if all the necessary values are available