com.atlassian.jira.bc.dataimport
Class ImportCompletedEvent

java.lang.Object
  extended by com.atlassian.jira.bc.dataimport.ImportCompletedEvent
All Implemented Interfaces:
DataImportEvent

@PublicApi
public final class ImportCompletedEvent
extends Object
implements DataImportEvent

Raised after a JIRA XML import has finished.

Since:
v5.1

Constructor Summary
ImportCompletedEvent(boolean importSuccessful, com.atlassian.fugue.Option<Long> xmlExportTime)
           
 
Method Summary
 com.atlassian.fugue.Option<Long> getXmlExportTime()
           
 boolean isImportSuccessful()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportCompletedEvent

public ImportCompletedEvent(boolean importSuccessful,
                            com.atlassian.fugue.Option<Long> xmlExportTime)
Method Detail

isImportSuccessful

public boolean isImportSuccessful()
Returns:
a boolean indicating whether the XML import was successful

getXmlExportTime

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


Copyright © 2002-2014 Atlassian. All Rights Reserved.