Package com.atlassian.jira.bc.dataimport
Class ExportCompletedEvent
java.lang.Object
com.atlassian.jira.bc.dataimport.ExportCompletedEvent
- All Implemented Interfaces:
DataExportEvent
Event fired when an export is complete.
- Since:
- v5.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringThe filename the data is being saved to.final ApplicationUserThe user that instigated the export.final ServiceOutcome<Void>The outcome of the export.final LongThe time in milliseconds when the export was started. -
Constructor Summary
ConstructorsConstructorDescriptionExportCompletedEvent(ApplicationUser user, String filename, ServiceOutcome<Void> outcome) Deprecated.ExportCompletedEvent(ApplicationUser user, String filename, ServiceOutcome<Void> outcome, Long xmlExportTime) -
Method Summary
-
Field Details
-
loggedInUser
The user that instigated the export. May be null if, for instance, it is triggered by a scheduled job and not a user. -
filename
The filename the data is being saved to. -
outcome
The outcome of the export. Will contain success or failure and possibly some error messages. -
xmlExportTime
The time in milliseconds when the export was started.
-
-
Constructor Details
-
ExportCompletedEvent
@Deprecated public ExportCompletedEvent(ApplicationUser user, String filename, ServiceOutcome<Void> outcome) Deprecated. -
ExportCompletedEvent
public ExportCompletedEvent(ApplicationUser user, String filename, ServiceOutcome<Void> outcome, Long xmlExportTime)
-
-
Method Details
-
getXmlExportTime
- Specified by:
getXmlExportTimein interfaceDataExportEvent- Returns:
- the time in milliseconds when the export was started.
-