com.atlassian.sal.api.license
Interface LicenseHandler


public interface LicenseHandler

Interface into the license system for the individual application

Since:
2.0

Method Summary
 String getServerId()
          Gets the server ID of the currently running application.
 String getSupportEntitlementNumber()
          Gets the Support Entitlement Number (SEN) for the currently running application.
 void setLicense(String license)
          Sets the license string for the currently running application
 

Method Detail

setLicense

void setLicense(String license)
Sets the license string for the currently running application

Parameters:
license - The license string
Throws:
IllegalArgumentException - if the license string is not a valid license

getServerId

String getServerId()
Gets the server ID of the currently running application.

Returns:
the server ID.

getSupportEntitlementNumber

String getSupportEntitlementNumber()
Gets the Support Entitlement Number (SEN) for the currently running application.

Returns:
the Support Entitlement Number, or null if there is no current support entitlement.


Copyright © 2011 Atlassian. All Rights Reserved.