Package com.adaptris.core.licensing
Interface License
-
public interface LicenseThe License interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classLicense.LicenseType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.DategetExpiry()Get the date the license expires.booleanisEnabled(License.LicenseType type)Check if this particular license type is enabled in the license.voidverify()Verify the license.
-
-
-
Method Detail
-
isEnabled
boolean isEnabled(License.LicenseType type)
Check if this particular license type is enabled in the license.- Parameters:
type- the type.- Returns:
- true if enabled.
-
verify
void verify() throws LicenseExceptionVerify the license.- Throws:
LicenseException
-
getExpiry
java.util.Date getExpiry() throws LicenseExceptionGet the date the license expires.- Returns:
- the date the license expires.
- Throws:
LicenseException- if there was an error querying the license.
-
-