public class

DefaultImportResultStore

extends Object
implements ImportResultStore Startable
java.lang.Object
   ↳ com.atlassian.jira.bc.dataimport.DefaultImportResultStore

Summary

Constants
String IMPORT_ERROR_KEY
String PS_KEY
String SPECIFIC_ERROR_MESSAGE_KEY
Public Constructors
DefaultImportResultStore(JiraPropertySetFactory jiraPropertySetFactory, EventPublisher eventPublisher)
Public Methods
synchronized void clear()
synchronized DataImportService.ImportResult getLastResult()
@EventListener synchronized void onClearCache(ClearCacheEvent event)
void start()
This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.
synchronized void storeResult(DataImportService.ImportResult importResult)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.bc.dataimport.ImportResultStore
From interface com.atlassian.jira.extension.Startable

Constants

protected static final String IMPORT_ERROR_KEY

Constant Value: "import.error"

protected static final String PS_KEY

Constant Value: "admin.import.result"

protected static final String SPECIFIC_ERROR_MESSAGE_KEY

Constant Value: "specific.error.message"

Public Constructors

public DefaultImportResultStore (JiraPropertySetFactory jiraPropertySetFactory, EventPublisher eventPublisher)

Public Methods

public synchronized void clear ()

public synchronized DataImportService.ImportResult getLastResult ()

@EventListener public synchronized void onClearCache (ClearCacheEvent event)

public void start ()

This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.

Throws
Exception

public synchronized void storeResult (DataImportService.ImportResult importResult)