com.atlassian.confluence.license.store
Interface LicenseStore

All Known Implementing Classes:
ApplicationConfigurationLicenseStore

public interface LicenseStore

Encapsulates the v1 license code, which is still required for storing a license.


Method Summary
 void install(String licenseString)
          Attempts to install the given encrypted license.
 String retrieve()
          Retrieves the currently installed license as a concatenated, encoded string of the license and its hash.
 

Method Detail

install

void install(String licenseString)
Attempts to install the given encrypted license.

Parameters:
licenseString - the encrypted license
Throws:
IllegalArgumentException - most likely due to the license not being de-cryptable
IllegalStateException - most likely due to a problem while persisting the license
See Also:
LicenseService.validate(String)

retrieve

String retrieve()
Retrieves the currently installed license as a concatenated, encoded string of the license and its hash.

Returns:
the encoded concatenated license


Copyright © 2003-2012 Atlassian. All Rights Reserved.