public class JiraLicenseStoreImpl extends Object implements JiraLicenseStore
JiraLicenseStore| Constructor and Description |
|---|
JiraLicenseStoreImpl(ApplicationProperties applicationProperties,
LicenseStringFactory licenseStringFactory) |
| 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 |
remove()
Remove any license.
|
void |
resetOldBuildConfirmation()
Resets persisted information about license in use being too old for current build.
|
String |
retrieve()
Retrieves the current license String from the persistent location.
|
String |
retrieveServerId()
Gets the server ID from the persistence backend
|
void |
store(String licenseString)
Stores the given license String into the persistent location.
|
void |
storeServerId(String serverId)
Stores the server ID to the persistent backend
|
public JiraLicenseStoreImpl(ApplicationProperties applicationProperties, LicenseStringFactory licenseStringFactory)
public String retrieve()
JiraLicenseStoreretrieve in interface JiraLicenseStorepublic void store(String licenseString)
JiraLicenseStorestore in interface JiraLicenseStorelicenseString - the license String to storepublic void remove()
JiraLicenseStoreremove in interface JiraLicenseStorepublic void resetOldBuildConfirmation()
JiraLicenseStoreresetOldBuildConfirmation in interface JiraLicenseStorepublic void confirmProceedUnderEvaluationTerms(String userName)
JiraLicenseStoreconfirmProceedUnderEvaluationTerms in interface JiraLicenseStoreuserName - the name of the user that amde the confirmationpublic String retrieveServerId()
JiraLicenseStoreretrieveServerId in interface JiraLicenseStorenull if not foundpublic void storeServerId(String serverId)
JiraLicenseStorestoreServerId in interface JiraLicenseStoreserverId - the server ID to storeCopyright © 2002-2015 Atlassian. All Rights Reserved.