Class WebCommandMessage<C extends java.lang.Enum<C> & WebPlatformCommand>

    • Constructor Summary

      Constructors 
      Constructor Description
      WebCommandMessage​(C command, com.globalmentor.model.NameValuePair<java.lang.String,​java.lang.Object>... parameters)
      Command and parameters constructor.
      WebCommandMessage​(C command, java.util.Map<java.lang.String,​java.lang.Object> parameters)
      Command and parameters map constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      C getCommand()  
      java.util.Map<java.lang.String,​java.lang.Object> getParameters()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WebCommandMessage

        public WebCommandMessage​(C command,
                                 com.globalmentor.model.NameValuePair<java.lang.String,​java.lang.Object>... parameters)
        Command and parameters constructor.
        Parameters:
        command - The command.
        parameters - The parameters of the command; parameters with duplicate names replace earlier parameters of the same name.
        Throws:
        java.lang.NullPointerException - if the given command and/or parameters is null.
      • WebCommandMessage

        public WebCommandMessage​(C command,
                                 java.util.Map<java.lang.String,​java.lang.Object> parameters)
        Command and parameters map constructor.
        Parameters:
        command - The command.
        parameters - The map representing the parameters of the command.
        Throws:
        java.lang.NullPointerException - if the given command and/or parameters is null.