View Javadoc

1   package com.atlassian.sal.api.license;
2   
3   /**
4    * Interface into the license system for the individual application
5    *
6    * @since 2.0
7    */
8   public interface LicenseHandler
9   {
10      /**
11       * Sets the license string for the currently running application
12       *
13       * @param license The license string
14       * @throws IllegalArgumentException if the license string is not a valid license
15       */
16      void setLicense(String license);
17  }