From c61dd01e281a599b56df1f93036057220aec533d Mon Sep 17 00:00:00 2001 From: Greg Melahn Date: Tue, 17 Sep 2013 16:44:20 +0000 Subject: [PATCH] Annotation class for use as described in ALF-19074 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55424 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../org/alfresco/api/AlfrescoPublicApi.java | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 source/java/org/alfresco/api/AlfrescoPublicApi.java diff --git a/source/java/org/alfresco/api/AlfrescoPublicApi.java b/source/java/org/alfresco/api/AlfrescoPublicApi.java new file mode 100644 index 0000000000..52953a3b3d --- /dev/null +++ b/source/java/org/alfresco/api/AlfrescoPublicApi.java @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2005-2013 Alfresco Software Limited. + * + * This file is part of Alfresco + * + * 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 . + */ +package org.alfresco.api; + +import java.lang.annotation.Documented; +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/* +This annotation is used to denote a class or method as part +of the public API. When a class or method is so designated then +we will not change it within a release in a way that would make +it no longer backwardly compatible with an earlier version within +the release. + */ +@Target( {ElementType.TYPE,ElementType.METHOD} + ) +@Retention(RetentionPolicy.RUNTIME) +@Documented +public @interface AlfrescoPublicApi +{ +}