Class EventHelper


  • @Deprecated(since="2021-09-30")
    public class EventHelper
    extends Object
    Deprecated.
    This API is not supported in Cloud Service.
    Contains static factory methods for creating TopologyEvents with BaseTopologyView as well as some TopologyEvent related helper methods*
    • Constructor Detail

      • EventHelper

        public EventHelper()
        Deprecated.
    • Method Detail

      • newInitEvent

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

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

        public static TopologyEvent newChangedEvent​(BaseTopologyView oldView,
                                                    BaseTopologyView newView)
        Deprecated.
        Simple factory method for creating a TOPOLOGY_CHANGED event with the given old and new views *
      • toShortString

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