PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED
Modifier and Type | Method and Description |
---|---|
int |
daysTilExpiration()
It is possible that users might have multiple licenses installed.
|
void |
disable()
Disable this LicenseService
This can be used to turn off license checking
after it has been determined that a license
key is not valid
|
default Date |
getExpirationDate()
Get the expiration date of the installed license.
|
String |
getLicenseInfo() |
int |
getPriority()
This method returns a priority value for an implementation.
|
LicenseInstallResult |
installLicense(Location... locations)
Given a list of potential locations that a license file could be located,
check each one and install any .lic files that are found there, iterating until
a valid license is installed successfully or all the locations have been tried.
|
boolean |
licenseIsAboutToExpire() |
boolean |
licenseIsInstalled()
This method checks whether there is any license with any valid subject installed.
|
boolean |
licenseIsValid(String subject)
Check if an installed license with the given subject is valid or not.
|
default void |
reset()
Delete any cached, installed licenses currently tracked by the implementation.
|
int getPriority()
boolean licenseIsInstalled()
boolean licenseIsValid(String subject)
String getLicenseInfo()
LicenseInstallResult installLicense(Location... locations)
locations
- - A variable number of Location objects, each of which has a name,
a type, and a value.void disable()
default void reset()
boolean licenseIsAboutToExpire()
int daysTilExpiration()
default Date getExpirationDate()
Copyright © 2023 Liquibase.org. All rights reserved.