You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2021/08/23 13:02:01 UTC

[camel] branch main updated: Deprecate APIs in camel-catalog that should not be used

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new ce24c44  Deprecate APIs in camel-catalog that should not be used
ce24c44 is described below

commit ce24c444cb8b981eee2daa6d6bd5ffe5495aa375
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Aug 23 14:56:57 2021 +0200

    Deprecate APIs in camel-catalog that should not be used
---
 .../src/main/java/org/apache/camel/catalog/CamelCatalog.java      | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/CamelCatalog.java b/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/CamelCatalog.java
index ce6d490..3de3254 100644
--- a/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/CamelCatalog.java
+++ b/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/CamelCatalog.java
@@ -291,6 +291,7 @@ public interface CamelCatalog {
      * @param  name the component name
      * @return      component documentation in ascii doc format.
      */
+    @Deprecated
     String componentAsciiDoc(String name);
 
     /**
@@ -299,6 +300,7 @@ public interface CamelCatalog {
      * @param  name the component name
      * @return      component documentation in html format.
      */
+    @Deprecated
     String componentHtmlDoc(String name);
 
     /**
@@ -307,6 +309,7 @@ public interface CamelCatalog {
      * @param  name the data format name
      * @return      data format documentation in ascii doc format.
      */
+    @Deprecated
     String dataFormatAsciiDoc(String name);
 
     /**
@@ -315,6 +318,7 @@ public interface CamelCatalog {
      * @param  name the data format name
      * @return      data format documentation in HTML format.
      */
+    @Deprecated
     String dataFormatHtmlDoc(String name);
 
     /**
@@ -323,6 +327,7 @@ public interface CamelCatalog {
      * @param  name the language name
      * @return      language documentation in ascii doc format.
      */
+    @Deprecated
     String languageAsciiDoc(String name);
 
     /**
@@ -331,6 +336,7 @@ public interface CamelCatalog {
      * @param  name the language name
      * @return      language documentation in HTML format.
      */
+    @Deprecated
     String languageHtmlDoc(String name);
 
     /**
@@ -339,6 +345,7 @@ public interface CamelCatalog {
      * @param  name the other (miscellaneous) name
      * @return      other (miscellaneous) documentation in ascii doc format.
      */
+    @Deprecated
     String otherAsciiDoc(String name);
 
     /**
@@ -347,6 +354,7 @@ public interface CamelCatalog {
      * @param  name the other (miscellaneous) name
      * @return      other (miscellaneous) documentation in HTML format.
      */
+    @Deprecated
     String otherHtmlDoc(String name);
 
     /**