com.atlassian.sal.confluence.license
Class ConfluenceLicenseHandler

java.lang.Object
  extended by com.atlassian.sal.confluence.license.ConfluenceLicenseHandler
All Implemented Interfaces:
com.atlassian.sal.api.license.LicenseHandler

public class ConfluenceLicenseHandler
extends Object
implements com.atlassian.sal.api.license.LicenseHandler

Sets the license for Confluence


Constructor Summary
ConfluenceLicenseHandler(com.atlassian.config.ApplicationConfiguration applicationConfiguration, com.atlassian.event.EventManager eventManager)
           
 
Method Summary
 void setLicense(String licenseString)
          Sets the license, going through the validation used for the web UI (copy/pasted unfortunately).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceLicenseHandler

public ConfluenceLicenseHandler(com.atlassian.config.ApplicationConfiguration applicationConfiguration,
                                com.atlassian.event.EventManager eventManager)
Method Detail

setLicense

public void setLicense(String licenseString)
Sets the license, going through the validation used for the web UI (copy/pasted unfortunately). Errors are ignored as with the JIRA implementation, although this should be improved and made consistent.

Specified by:
setLicense in interface com.atlassian.sal.api.license.LicenseHandler
Parameters:
licenseString - The license String


Copyright © 2003-2010 Atlassian. All Rights Reserved.