Class DeploymentEvent

    • Constructor Detail

      • DeploymentEvent

        public DeploymentEvent()
        No-arg constructor.
      • DeploymentEvent

        public DeploymentEvent​(ClusterNode node,
                               String msg,
                               int type)
        Creates deployment event with given parameters.
        Parameters:
        node - Node.
        msg - Optional event message.
        type - Event type.
    • Method Detail

      • shortDisplay

        public String shortDisplay()
        Gets a shortened version of toString() result. Suitable for humans to read.
        Specified by:
        shortDisplay in interface Event
        Overrides:
        shortDisplay in class EventAdapter
        Returns:
        Shortened version of toString() result.
      • alias

        public String alias()
        Gets deployment alias for this event.
        Returns:
        Deployment alias.
      • alias

        public void alias​(String alias)
        Sets deployment alias for this event.
        Parameters:
        alias - Deployment alias.