public class DefaultImportResultStore extends Object implements ImportResultStore, Startable
Modifier and Type | Field and Description |
---|---|
protected static String |
IMPORT_ERROR_KEY |
protected static String |
PS_KEY |
protected static String |
SPECIFIC_ERROR_MESSAGE_KEY |
Constructor and Description |
---|
DefaultImportResultStore(JiraPropertySetFactory jiraPropertySetFactory,
com.atlassian.event.api.EventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
DataImportService.ImportResult |
getLastResult() |
void |
onClearCache(ClearCacheEvent event) |
void |
start()
This method will be called after the plugin system is fully initialised and all components added to the
dependency injection framework.
|
void |
storeResult(DataImportService.ImportResult importResult) |
protected static final String PS_KEY
protected static final String IMPORT_ERROR_KEY
protected static final String SPECIFIC_ERROR_MESSAGE_KEY
public DefaultImportResultStore(JiraPropertySetFactory jiraPropertySetFactory, com.atlassian.event.api.EventPublisher eventPublisher)
public void start() throws Exception
Startable
@EventListener public void onClearCache(ClearCacheEvent event)
public void storeResult(DataImportService.ImportResult importResult)
storeResult
in interface ImportResultStore
public DataImportService.ImportResult getLastResult()
getLastResult
in interface ImportResultStore
public void clear()
clear
in interface ImportResultStore
Copyright © 2002-2015 Atlassian. All Rights Reserved.