public class EventHelper extends Object
Constructor and Description |
---|
EventHelper() |
Modifier and Type | Method and Description |
---|---|
static TopologyEvent |
newChangedEvent(BaseTopologyView oldView,
BaseTopologyView newView)
Simple factory method for creating a TOPOLOGY_CHANGED event with the given old and new views
|
static TopologyEvent |
newChangingEvent(BaseTopologyView oldView)
Simple factory method for creating a TOPOLOGY_CHANGING event with the given oldView
|
static TopologyEvent |
newInitEvent(BaseTopologyView newView)
Simple factory method for creating a TOPOLOGY_INIT event with the given newView
|
static TopologyEvent |
newPropertiesChangedEvent(BaseTopologyView oldView,
BaseTopologyView newView) |
static String |
toShortString(TopologyEvent event)
Returns a shorter toString than the default TopologyEvent.toString()
which can be rather large and unusable in log files
|
public static TopologyEvent newInitEvent(BaseTopologyView newView)
public static TopologyEvent newChangingEvent(BaseTopologyView oldView)
public static TopologyEvent newChangedEvent(BaseTopologyView oldView, BaseTopologyView newView)
public static TopologyEvent newPropertiesChangedEvent(BaseTopologyView oldView, BaseTopologyView newView)
public static String toShortString(TopologyEvent event)
Copyright © 2017 The Apache Software Foundation. All rights reserved.