mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Feature/acs 3555 add custom embedded workflow license code (#1420)
* ACS-3555 Add license code for custom embedded workflow * ACS-3555 remove unused import
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* #%L
|
||||
* Alfresco Repository
|
||||
* %%
|
||||
* Copyright (C) 2005 - 2018 Alfresco Software Limited
|
||||
* Copyright (C) 2005 - 2022 Alfresco Software Limited
|
||||
* %%
|
||||
* This file is part of the Alfresco software.
|
||||
* If the software was purchased under a paid Alfresco license, the terms of
|
||||
@@ -25,7 +25,6 @@
|
||||
*/
|
||||
package org.alfresco.repo.descriptor;
|
||||
|
||||
import java.security.Principal;
|
||||
import java.util.Date;
|
||||
import java.util.Properties;
|
||||
|
||||
@@ -125,6 +124,15 @@ public class DescriptorStartupLog extends AbstractLifecycleBean
|
||||
{
|
||||
msg += ", NO CLUSTER";
|
||||
}
|
||||
|
||||
if(license.isCustomEmbeddedWorkflowEnabled())
|
||||
{
|
||||
msg += ", customEmbeddedWorkflow:enabled";
|
||||
}
|
||||
else
|
||||
{
|
||||
msg += ", NO CUSTOM EMBEDDED WORKFLOW";
|
||||
}
|
||||
|
||||
String holder = license.getHolderOrganisation();
|
||||
if (holder != null)
|
||||
|
@@ -2,7 +2,7 @@
|
||||
* #%L
|
||||
* Alfresco Repository
|
||||
* %%
|
||||
* Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||
* Copyright (C) 2005 - 2022 Alfresco Software Limited
|
||||
* %%
|
||||
* This file is part of the Alfresco software.
|
||||
* If the software was purchased under a paid Alfresco license, the terms of
|
||||
@@ -139,6 +139,12 @@ 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
|
||||
*/
|
||||
boolean isCustomEmbeddedWorkflowEnabled();
|
||||
|
||||
/**
|
||||
* ATS Transformation Server Expiry Date
|
||||
|
Reference in New Issue
Block a user