Class EventHelper
- java.lang.Object
-
- org.apache.sling.discovery.commons.providers.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 Summary
Constructors Constructor Description EventHelper()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TopologyEvent
newChangedEvent(BaseTopologyView oldView, BaseTopologyView newView)
Deprecated.Simple factory method for creating a TOPOLOGY_CHANGED event with the given old and new views *static TopologyEvent
newChangingEvent(BaseTopologyView oldView)
Deprecated.Simple factory method for creating a TOPOLOGY_CHANGING event with the given oldView *static TopologyEvent
newInitEvent(BaseTopologyView newView)
Deprecated.Simple factory method for creating a TOPOLOGY_INIT event with the given newView *static TopologyEvent
newPropertiesChangedEvent(BaseTopologyView oldView, BaseTopologyView newView)
Deprecated.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
-
-
-
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 *
-
newPropertiesChangedEvent
public static TopologyEvent newPropertiesChangedEvent(BaseTopologyView oldView, BaseTopologyView newView)
Deprecated.
-
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
-
-