Class EventHelper


  • public class EventHelper
    extends java.lang.Object
    Contains static factory methods for creating TopologyEvents with BaseTopologyView as well as some TopologyEvent related helper methods
    • Constructor Detail

      • EventHelper

        public EventHelper()
    • Method Detail

      • newInitEvent

        public static TopologyEvent newInitEvent​(BaseTopologyView newView)
        Simple factory method for creating a TOPOLOGY_INIT event with the given newView
      • newChangingEvent

        public static TopologyEvent newChangingEvent​(BaseTopologyView oldView)
        Simple factory method for creating a TOPOLOGY_CHANGING event with the given oldView
      • toShortString

        public static java.lang.String toShortString​(TopologyEvent event)
        Returns a shorter toString than the default TopologyEvent.toString() which can be rather large and unusable in log files