|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.license.JiraLicenseStoreImpl
public class JiraLicenseStoreImpl
The implementation of JiraLicenseStore
Constructor Summary | |
---|---|
JiraLicenseStoreImpl(ApplicationProperties applicationProperties,
LicenseStringFactory licenseStringFactory)
|
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 |
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)
Stored 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 |
Constructor Detail |
---|
public JiraLicenseStoreImpl(ApplicationProperties applicationProperties, LicenseStringFactory licenseStringFactory)
Method Detail |
---|
public String retrieve()
JiraLicenseStore
retrieve
in interface JiraLicenseStore
public void store(String licenseString)
JiraLicenseStore
store
in interface JiraLicenseStore
licenseString
- the license String to storepublic void resetOldBuildConfirmation()
JiraLicenseStore
resetOldBuildConfirmation
in interface JiraLicenseStore
public void confirmProceedUnderEvaluationTerms(String userName)
JiraLicenseStore
confirmProceedUnderEvaluationTerms
in interface JiraLicenseStore
userName
- the name of the user that amde the confirmationpublic String retrieveServerId()
JiraLicenseStore
retrieveServerId
in interface JiraLicenseStore
null
if not foundpublic void storeServerId(String serverId)
JiraLicenseStore
storeServerId
in interface JiraLicenseStore
serverId
- the server ID to store
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |