com.atlassian.confluence.event
Class EventUtils
java.lang.Object
com.atlassian.confluence.event.EventUtils
public class EventUtils
- extends Object
Contains various utility methods for simplifying the Event handling process.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventUtils
public EventUtils()
extractWrappedEventOrOriginal
public static Event extractWrappedEventOrOriginal(Event event)
- If the given
event
is an instance of ClusterEventWrapper
, returns the wrapped event.
Otherwise, it will return the given event;
- Parameters:
event
- to extract from
- Returns:
- wrapped event or original event