Class ImportStartedEvent

java.lang.Object
com.atlassian.jira.bc.dataimport.ImportStartedEvent
All Implemented Interfaces:
DataImportEvent

@PublicApi public final class ImportStartedEvent extends Object implements DataImportEvent
Raised before a JIRA XML import is performed.
Since:
v5.1
  • Constructor Details

    • ImportStartedEvent

      @Deprecated public ImportStartedEvent()
      Deprecated.
    • ImportStartedEvent

      public ImportStartedEvent(io.atlassian.fugue.Option<Long> xmlExportTime)
    • ImportStartedEvent

      public ImportStartedEvent(io.atlassian.fugue.Option<Long> xmlExportTime, DataImportEvent.ImportType xmlImportType)
  • Method Details

    • getXmlExportTime

      public io.atlassian.fugue.Option<Long> getXmlExportTime()
      Specified by:
      getXmlExportTime in interface DataImportEvent
      Returns:
      time in milliseconds when the imported data was exported.
    • getXmlImportType

      public DataImportEvent.ImportType getXmlImportType()
      Returns:
      a String indicating if the import was from SERVER or CLOUD