public class EventUtils extends Object
Constructor and Description |
---|
EventUtils() |
Modifier and Type | Method and Description |
---|---|
static com.atlassian.event.Event |
extractWrappedEventOrOriginal(com.atlassian.event.Event event)
If the given
event is an instance of ClusterEventWrapper , returns the wrapped event. |
static ContentTypeEnum |
getEventContentType(com.atlassian.event.Event event)
Return the type of
ConfluenceEntityObject the event is acting upon. |
public static com.atlassian.event.Event extractWrappedEventOrOriginal(com.atlassian.event.Event event)
event
is an instance of ClusterEventWrapper
, returns the wrapped event.
Otherwise, it will return the given event;event
- to extract frompublic static ContentTypeEnum getEventContentType(com.atlassian.event.Event event)
ConfluenceEntityObject
the event is acting upon.Copyright © 2003–2017 Atlassian. All rights reserved.