Feature/acs 3555 add custom embedded workflow license code (#1432)

* ACS-3555 Add license code for custom embedded workflow

* ACS-3555 remove unused import

* ACS-3560 Discovery API for custom embedded workflow license

* ACS-3560 fix compilation error

* use default method

* restore discovery api
This commit is contained in:
Sara
2022-09-26 11:04:26 +01:00
committed by GitHub
parent f196de23b0
commit 0aa4b5de9c
3 changed files with 31 additions and 3 deletions

View File

@@ -139,7 +139,17 @@ public interface LicenseDescriptor
* @return <code>true</code> if the license allows cryptodoc
*/
boolean isCryptodocEnabled();
/**
* Does this license allow custom embedded workflows?
*
* @return <code>true</code> if the license allows custom embedded workflows
*/
default boolean isCustomEmbeddedWorkflowEnabled()
{
return false;
}
/**
* ATS Transformation Server Expiry Date
* @return the ATS Transformation Server Expiry Date or <code>null</code>