|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.license.MultiLicenseStoreImpl
public class MultiLicenseStoreImpl
Field Summary | |
---|---|
static String |
ID_COLUMN
|
Constructor Summary | |
---|---|
MultiLicenseStoreImpl(EntityEngine entityEngine,
JiraLicenseStore jiraLicenseStore,
FeatureManager featureManager,
com.atlassian.cache.CacheManager cacheManager)
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ID_COLUMN
Constructor Detail |
---|
public MultiLicenseStoreImpl(EntityEngine entityEngine, JiraLicenseStore jiraLicenseStore, FeatureManager featureManager, com.atlassian.cache.CacheManager cacheManager)
Method Detail |
---|
@Nonnull public Iterable<String> retrieve()
MultiLicenseStore
retrieve
in interface MultiLicenseStore
public void store(@Nonnull Iterable<String> newLicenseKeys)
MultiLicenseStore
store
in interface MultiLicenseStore
newLicenseKeys
- the license strings to store@EventListener public void onClearCacheEvent(ClearCacheEvent c)
public String retrieveServerId()
MultiLicenseStore
retrieveServerId
in interface MultiLicenseStore
null
if not foundpublic void storeServerId(String serverId)
MultiLicenseStore
storeServerId
in interface MultiLicenseStore
serverId
- the server ID to storepublic void resetOldBuildConfirmation()
MultiLicenseStore
resetOldBuildConfirmation
in interface MultiLicenseStore
public void confirmProceedUnderEvaluationTerms(String userName)
MultiLicenseStore
confirmProceedUnderEvaluationTerms
in interface MultiLicenseStore
userName
- the name of the user that amde the confirmation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |