From cdabbb613f2862fdd484ae8eae773628a3a29e02 Mon Sep 17 00:00:00 2001 From: NITHIN NAMBIAR Date: Thu, 6 Feb 2020 15:43:18 +0000 Subject: [PATCH] Revert "REPO-4709 remove cloud sync (#793)" (#805) This reverts commit ce1733b0be446262649d9840860363f3456f0260. --- .../service/license/LicenseDescriptor.java | 57 +++++++++++-------- 1 file changed, 32 insertions(+), 25 deletions(-) diff --git a/src/main/java/org/alfresco/service/license/LicenseDescriptor.java b/src/main/java/org/alfresco/service/license/LicenseDescriptor.java index f8bd4e4d1b..881a4a64c3 100644 --- a/src/main/java/org/alfresco/service/license/LicenseDescriptor.java +++ b/src/main/java/org/alfresco/service/license/LicenseDescriptor.java @@ -1,28 +1,28 @@ -/* - * #%L - * Alfresco Repository - * %% - * Copyright (C) 2005 - 2016 Alfresco Software Limited - * %% - * This file is part of the Alfresco software. - * If the software was purchased under a paid Alfresco license, the terms of - * the paid license agreement will prevail. Otherwise, the software is - * provided under the following open source license terms: - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - * #L% - */ +/* + * #%L + * Alfresco Repository + * %% + * Copyright (C) 2005 - 2016 Alfresco Software Limited + * %% + * This file is part of the Alfresco software. + * If the software was purchased under a paid Alfresco license, the terms of + * the paid license agreement will prevail. Otherwise, the software is + * provided under the following open source license terms: + * + * Alfresco is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Alfresco is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Alfresco. If not, see . + * #L% + */ package org.alfresco.service.license; import java.security.Principal; @@ -127,6 +127,13 @@ public interface LicenseDescriptor */ public LicenseMode getLicenseMode(); + + /** + * Get the cloud sync key or null + * @return the cloud sync key + */ + public String getCloudSyncKey(); + /** * Does this license allow clustering? *