Package rs.baselib.licensing
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.StringEXPIRATION_DATE_KEYKey for expiration date (Usage is optional).static java.lang.StringMAXIMUM_VERSION_INCLUDED_KEYKey for inclusion of maximum version (Usage is optional).static java.lang.StringMAXIMUM_VERSION_KEYKey for maximum version (Usage is optional).static java.lang.StringMINIMUM_VERSION_INCLUDED_KEYKey for inclusion of minimum version (Usage is optional).static java.lang.StringMINIMUM_VERSION_KEYKey for minimum version (Usage is optional).static java.lang.StringOWNER_KEYKey for owner (Usage is optional).static java.lang.StringPRODUCT_KEYA key for the product (Usage is optional).static java.lang.StringVERSION_KEYKey for version (Usage is optional). -
Method Summary
Modifier and Type Method Description voidinit(ILicenseContext context)Initialize the license using the given context.voidverify(ILicenseContext context)Verify the license using the given context
-
Field Details
-
PRODUCT_KEY
static final java.lang.String PRODUCT_KEYA key for the product (Usage is optional).- See Also:
- Constant Field Values
-
EXPIRATION_DATE_KEY
static final java.lang.String EXPIRATION_DATE_KEYKey for expiration date (Usage is optional).- See Also:
- Constant Field Values
-
OWNER_KEY
static final java.lang.String OWNER_KEYKey for owner (Usage is optional).- See Also:
- Constant Field Values
-
MINIMUM_VERSION_KEY
static final java.lang.String MINIMUM_VERSION_KEYKey for minimum version (Usage is optional).- See Also:
- Constant Field Values
-
MINIMUM_VERSION_INCLUDED_KEY
static final java.lang.String MINIMUM_VERSION_INCLUDED_KEYKey for inclusion of minimum version (Usage is optional).- See Also:
- Constant Field Values
-
MAXIMUM_VERSION_KEY
static final java.lang.String MAXIMUM_VERSION_KEYKey for maximum version (Usage is optional).- See Also:
- Constant Field Values
-
MAXIMUM_VERSION_INCLUDED_KEY
static final java.lang.String MAXIMUM_VERSION_INCLUDED_KEYKey for inclusion of maximum version (Usage is optional).- See Also:
- Constant Field Values
-
VERSION_KEY
static final java.lang.String VERSION_KEYKey for version (Usage is optional).- See Also:
- Constant Field Values
-
-
Method Details