Class AsyncImportStartedEvent
- 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.AsyncImportStartedEvent
-
- All Implemented Interfaces:
Serializable
@AsynchronousPreferred public class AsyncImportStartedEvent extends ConfluenceEvent
Published at the beginning of an import.- Since:
- 6.0.4
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description AsyncImportStartedEvent(Object src, ImportContext importContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ImportContext
getImportContext()
boolean
isCloudImport()
Returns true if the data being imported comes from a Cloud instance as opposed to a Server instance.boolean
isOriginalEvent()
Deprecated.since 6.0.8boolean
isSiteImport()
-
Methods inherited from class com.atlassian.confluence.event.events.ConfluenceEvent
equals, hashCode
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
AsyncImportStartedEvent
public AsyncImportStartedEvent(Object src, ImportContext importContext)
-
-
Method Detail
-
getImportContext
public ImportContext getImportContext()
-
isSiteImport
public boolean isSiteImport()
-
isCloudImport
public boolean isCloudImport()
Returns true if the data being imported comes from a Cloud instance as opposed to a Server instance.
-
isOriginalEvent
@Deprecated public boolean isOriginalEvent()
Deprecated.since 6.0.8Returns 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
-
-