package com.atlassian.sal.api.license;

/**
 * Interface into the license system for the individual application
 *
 * @since 2.0
 */
public interface LicenseHandler
{
    /**
     * Sets the license string for the currently running application
     *
     * @param license The license string
     * @throws IllegalArgumentException if the license string is not a valid license
     */
    void setLicense(String license);
}

@@ -414,11 +414,416 @@
 icense);
+%0A%0A    /**%0A     * Gets the server ID of the currently running application.%0A     *%0A     * @return the server ID.%0A     */%0A    String getServerId();%0A%0A    /**%0A     * Gets the Support Entitlement Number (SEN) for the currently running application.%0A     *%0A     * @return the Support Entitlement Number, or %7B@code null%7D if there is no current support entitlement.%0A     */%0A    String getSupportEntitlementNumber();
 %0A%7D%0A

Add LicenseHandler.getServerId() and LicenseHandler.getSupportEntitlementNumber()