Class Action<Response extends ActionResponse>

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Action​(java.lang.String name)  
    • Constructor Detail

      • Action

        protected Action​(java.lang.String name)
        Parameters:
        name - The name of the action, must be unique across actions.
    • Method Detail

      • name

        public java.lang.String name()
        The name of the action. Must be unique across actions.
      • newResponse

        @Deprecated
        public abstract Response newResponse()
        Deprecated.
        Implement getResponseReader() instead and make this method throw an UnsupportedOperationException
        Creates a new response instance.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object