Class ImportFinishedEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- com.atlassian.event.Event
-
- com.atlassian.confluence.event.events.ConfluenceEvent
-
- com.atlassian.confluence.event.events.admin.ImportFinishedEvent
-
- All Implemented Interfaces:
ClusterEvent
,Serializable
public class ImportFinishedEvent extends ConfluenceEvent implements ClusterEvent
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description ImportFinishedEvent(Object src, ImportContext importContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImportContext
getImportContext()
boolean
isOriginalEvent()
Returns true if this event was published on the local node.boolean
isSiteImport()
-
Methods inherited from class com.atlassian.confluence.event.events.ConfluenceEvent
equals, hashCode
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
ImportFinishedEvent
public ImportFinishedEvent(Object src, ImportContext importContext)
-
-
Method Detail
-
getImportContext
public ImportContext getImportContext()
-
isSiteImport
public boolean isSiteImport()
-
isOriginalEvent
public boolean isOriginalEvent()
Returns true if this event was published on the local node. Returns false if this event was originally published on another node in a cluster.- Returns:
- true if this event was published on the local node
-
-