public interface License
Modifier and Type | Interface and Description |
---|---|
static class |
License.LicenseType |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getExpiry()
Get the date the license expires.
|
boolean |
isEnabled(License.LicenseType type)
Check if this particular license type is enabled in the license.
|
void |
verify()
Verify the license.
|
boolean isEnabled(License.LicenseType type)
type
- the type.void verify() throws LicenseException
LicenseException
java.util.Date getExpiry() throws LicenseException
LicenseException
- if there was an error querying the license.