Package com.hybris.cockpitng.util
Class CockpitEventUtils
- java.lang.Object
-
- com.hybris.cockpitng.util.CockpitEventUtils
-
public final class CockpitEventUtils extends java.lang.ObjectUtility methods for handling global cockpit events.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringGLOBAL_EVENT_LISTENERS_MAP
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddisableGlobalEvents(boolean disabled)Disable/enable global eventsstatic voiddispatchGlobalEvents(CockpitEventQueue cockpitEventQueue)Fetches all events that are currently in the queue for the current desktop and calls them.
-
-
-
Field Detail
-
GLOBAL_EVENT_LISTENERS_MAP
public static final java.lang.String GLOBAL_EVENT_LISTENERS_MAP
- See Also:
- Constant Field Values
-
-
Method Detail
-
disableGlobalEvents
public static void disableGlobalEvents(boolean disabled)
Disable/enable global events- Parameters:
disabled-
-
dispatchGlobalEvents
public static void dispatchGlobalEvents(CockpitEventQueue cockpitEventQueue)
Fetches all events that are currently in the queue for the current desktop and calls them. For internal use only.
-
-