Package liquibase.license
Class LicenseServiceUtils
java.lang.Object
liquibase.license.LicenseServiceUtils
This class provides a static method for verifying licenses
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidcheckProLicenseAndThrowException(String[] commandNames) Throw an exception if there is no valid license.static booleanCheck for a Liquibase License.
- 
Method Details- 
isProLicenseValidpublic static boolean isProLicenseValid()Check for a Liquibase License.- Returns:
- true if licensed, or the installed license also permits access to Liquibase Pro features, false if not
 
- 
checkProLicenseAndThrowExceptionpublic static void checkProLicenseAndThrowException(String[] commandNames) throws CommandValidationException Throw an exception if there is no valid license.- Parameters:
- commandNames- the name of the command; each element of the array will be joined by spaces
- Throws:
- CommandValidationException- the exception thrown if the license is not valid
 
 
-