public interface LicenseActivator
Modifier and Type | Method and Description |
---|---|
License |
activate(License license)
Activates the specified license.
|
License |
deactivate(License license)
De-activates the specified license.
|
License |
expire(License license)
Sets to expire a specified license.
|
License activate(License license)
LicenseStatus.NEW
.license
- new license issued by the licensing authorityNullPointerException
- if license is nullIllegalStateException
- if license fails validationLicense deactivate(License license)
LicenseStatus.NEW
or LicenseStatus.ACTIVE
.license
- license issued by the licensing authorityNullPointerException
- if license is nullIllegalStateException
- if license fails validationLicense expire(License license)
LicenseStatus.NEW
or LicenseStatus.ACTIVE
.license
- license issued by the licensing authorityNullPointerException
- if license is nullIllegalStateException
- if license fails validationCopyright © 2016. All Rights Reserved.