Interface ILicense

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AbstractLicense, DefaultLicense, SimpleLicense

public interface ILicense
extends java.io.Serializable
The interface a license has to fulfill.
Author:
ralph
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String EXPIRATION_DATE_KEY
    Key for expiration date (Usage is optional).
    static java.lang.String MAXIMUM_VERSION_INCLUDED_KEY
    Key for inclusion of maximum version (Usage is optional).
    static java.lang.String MAXIMUM_VERSION_KEY
    Key for maximum version (Usage is optional).
    static java.lang.String MINIMUM_VERSION_INCLUDED_KEY
    Key for inclusion of minimum version (Usage is optional).
    static java.lang.String MINIMUM_VERSION_KEY
    Key for minimum version (Usage is optional).
    static java.lang.String OWNER_KEY
    Key for owner (Usage is optional).
    static java.lang.String PRODUCT_KEY
    A key for the product (Usage is optional).
    static java.lang.String VERSION_KEY
    Key for version (Usage is optional).
  • Method Summary

    Modifier and Type Method Description
    void init​(ILicenseContext context)
    Initialize the license using the given context.
    void verify​(ILicenseContext context)
    Verify the license using the given context