com.atlassian.jira.bc.dataimport
Class ExportStartedEvent

java.lang.Object
  extended by com.atlassian.jira.bc.dataimport.ExportStartedEvent
All Implemented Interfaces:
DataExportEvent

@PublicApi
public class ExportStartedEvent
extends Object
implements DataExportEvent

Event raised when a data export begins.

Since:
v5.0

Field Summary
 String filename
          The filename the data is being saved to.
 com.atlassian.crowd.embedded.api.User loggedInUser
          The user that instigated the export.
 Long xmlExportTime
          The time in milliseconds when the export was started..
 
Constructor Summary
ExportStartedEvent(com.atlassian.crowd.embedded.api.User user, String filename)
          Deprecated. 
ExportStartedEvent(com.atlassian.crowd.embedded.api.User user, String filename, Long xmlExportTime)
           
 
Method Summary
 Long getXmlExportTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

loggedInUser

public final com.atlassian.crowd.embedded.api.User 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

public final String filename
The filename the data is being saved to.


xmlExportTime

public final Long xmlExportTime
The time in milliseconds when the export was started..

Constructor Detail

ExportStartedEvent

@Deprecated
public ExportStartedEvent(com.atlassian.crowd.embedded.api.User user,
                                     String filename)
Deprecated. 


ExportStartedEvent

public ExportStartedEvent(com.atlassian.crowd.embedded.api.User user,
                          String filename,
                          Long xmlExportTime)
Method Detail

getXmlExportTime

public Long getXmlExportTime()
Specified by:
getXmlExportTime in interface DataExportEvent
Returns:
the time in milliseconds when the export was started.


Copyright © 2002-2014 Atlassian. All Rights Reserved.