public interface LicenseService
| Modifier and Type | Method and Description |
|---|---|
int |
daysTilExpiration()
It is possible that users might have multiple licenses installed.
|
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.
|
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.boolean licenseIsAboutToExpire()
int daysTilExpiration()
Copyright © 2019 Liquibase.org. All rights reserved.