@Deprecated public interface

JiraLicenseStore

com.atlassian.jira.license.JiraLicenseStore
Known Indirect Subclasses

This interface is deprecated.
since JIRA 6.3 - we will be removing support for JIRA license store from our public API in 1.0. Use JiraLicenseService instead.

Class Overview

A store to save license to a persistent location.

Summary

Public Methods
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 Methods

public 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.

Parameters
userName the name of the user that amde the confirmation

public void remove ()

Remove any license. Useful when the license string is corrupted.

public void resetOldBuildConfirmation ()

Resets persisted information about license in use being too old for current build.

public String retrieve ()

Retrieves the current license String from the persistent location.

Returns
  • the current license String from the persistent location.

public String retrieveServerId ()

Gets the server ID from the persistence backend

Returns
  • the server ID, null if not found

public void store (String licenseString)

Stores the given license String into the persistent location.

Parameters
licenseString the license String to store

public void storeServerId (String serverId)

Stores the server ID to the persistent backend

Parameters
serverId the server ID to store