Class FlowableLiquibaseLicenseService
java.lang.Object
org.flowable.common.engine.impl.db.FlowableLiquibaseLicenseService
- All Implemented Interfaces:
liquibase.license.LicenseService,liquibase.plugin.Plugin
public class FlowableLiquibaseLicenseService
extends Object
implements liquibase.license.LicenseService
A special Liquibase
LicenseService that always returns false for the license check.
This is there to support only using the Community Features of the Liquibase license in the scope of the Flowable Liquibase usage.- Author:
- Filip Hrisafov
-
Field Summary
Fields inherited from interface liquibase.plugin.Plugin
PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoiddisable()intliquibase.license.LicenseInstallResultinstallLicense(liquibase.license.Location... locations) booleanbooleanbooleanlicenseIsValid(String subject) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface liquibase.license.LicenseService
getExpirationDate, reset
-
Constructor Details
-
FlowableLiquibaseLicenseService
public FlowableLiquibaseLicenseService()
-
-
Method Details
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfaceliquibase.license.LicenseService
-
licenseIsInstalled
public boolean licenseIsInstalled()- Specified by:
licenseIsInstalledin interfaceliquibase.license.LicenseService
-
licenseIsValid
- Specified by:
licenseIsValidin interfaceliquibase.license.LicenseService
-
getLicenseInfo
- Specified by:
getLicenseInfoin interfaceliquibase.license.LicenseService
-
installLicense
public liquibase.license.LicenseInstallResult installLicense(liquibase.license.Location... locations) - Specified by:
installLicensein interfaceliquibase.license.LicenseService
-
disable
public void disable()- Specified by:
disablein interfaceliquibase.license.LicenseService
-
licenseIsAboutToExpire
public boolean licenseIsAboutToExpire()- Specified by:
licenseIsAboutToExpirein interfaceliquibase.license.LicenseService
-
daysTilExpiration
public int daysTilExpiration()- Specified by:
daysTilExpirationin interfaceliquibase.license.LicenseService
-