public class MultiLicenseStoreImpl extends Object implements MultiLicenseStore
| Constructor and Description |
|---|
MultiLicenseStoreImpl(EntityEngine entityEngine,
JiraLicenseStore jiraLicenseStore,
FeatureManager featureManager,
com.atlassian.cache.CacheManager cacheManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
confirmProceedUnderEvaluationTerms(String userName)
This will confirm that user has agreed to proceed under Evaluation terms, typically when the license is too old
for the current JIRA build.
|
void |
onClearCacheEvent(ClearCacheEvent c) |
void |
resetOldBuildConfirmation()
Resets persisted information about license in use being too old for current build.
|
Iterable<String> |
retrieve()
Retrieves all product license strings.
|
String |
retrieveServerId()
Gets the server ID from the persistence backend
|
void |
store(Iterable<String> newLicenseKeys)
Persists a new state for all licenses.
|
void |
storeServerId(String serverId)
Stores the server ID to the persistent backend
|
public static final String ID_COLUMN
public MultiLicenseStoreImpl(EntityEngine entityEngine, JiraLicenseStore jiraLicenseStore, FeatureManager featureManager, com.atlassian.cache.CacheManager cacheManager)
@Nonnull public Iterable<String> retrieve()
MultiLicenseStoreretrieve in interface MultiLicenseStorepublic void store(@Nonnull Iterable<String> newLicenseKeys)
MultiLicenseStorestore in interface MultiLicenseStorenewLicenseKeys - the license strings to store@EventListener public void onClearCacheEvent(ClearCacheEvent c)
public String retrieveServerId()
MultiLicenseStoreretrieveServerId in interface MultiLicenseStorenull if not foundpublic void storeServerId(String serverId)
MultiLicenseStorestoreServerId in interface MultiLicenseStoreserverId - the server ID to storepublic void resetOldBuildConfirmation()
MultiLicenseStoreresetOldBuildConfirmation in interface MultiLicenseStorepublic void confirmProceedUnderEvaluationTerms(String userName)
MultiLicenseStoreconfirmProceedUnderEvaluationTerms in interface MultiLicenseStoreuserName - the name of the user that amde the confirmationCopyright © 2002-2015 Atlassian. All Rights Reserved.