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 2015/11/12 09:18:27 UTC

[16/33] camel git commit: Camel component docs.

Camel component docs.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/bc69e946
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/bc69e946
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/bc69e946

Branch: refs/heads/master
Commit: bc69e9463dd684aab4c7c56b52e4fa7525dc1c6e
Parents: 6762256
Author: Claus Ibsen <da...@apache.org>
Authored: Thu Nov 12 09:04:04 2015 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Thu Nov 12 09:19:17 2015 +0100

----------------------------------------------------------------------
 .../apache/camel/tools/apt/helper/EndpointHelper.java  | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/bc69e946/tooling/apt/src/main/java/org/apache/camel/tools/apt/helper/EndpointHelper.java
----------------------------------------------------------------------
diff --git a/tooling/apt/src/main/java/org/apache/camel/tools/apt/helper/EndpointHelper.java b/tooling/apt/src/main/java/org/apache/camel/tools/apt/helper/EndpointHelper.java
index afe9308..d61bf3c 100644
--- a/tooling/apt/src/main/java/org/apache/camel/tools/apt/helper/EndpointHelper.java
+++ b/tooling/apt/src/main/java/org/apache/camel/tools/apt/helper/EndpointHelper.java
@@ -72,6 +72,19 @@ public final class EndpointHelper {
         return new EndpointOptionGroupAndLabelComparator();
     }
 
+    /**
+     * To sort the component/endpoint options in human friendly order.
+     * <p/>
+     * The order is to include options grouped by
+     * <ul>
+     *     <li>common</li>
+     *     <li>consumer</li>
+     *     <li>consumer (advanced)</li>
+     *     <li>producer</li>
+     *     <li>consumer (advanced)</li>
+     *     <li>... and the rest sorted by a..z</li>
+     * </ul>
+     */
     private static final class EndpointOptionGroupAndLabelComparator implements Comparator<EndpointOption> {
 
         @Override