|
||||||||||
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
Constructor Summary | |
---|---|
MultiLicenseStoreImpl(EntityEngine entityEngine,
JiraLicenseStore jiraLicenseStore,
FeatureManager featureManager)
|
Method Summary | |
---|---|
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 |
Constructor Detail |
---|
public MultiLicenseStoreImpl(EntityEngine entityEngine, JiraLicenseStore jiraLicenseStore, FeatureManager featureManager)
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 storepublic 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 store
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |