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:43 UTC
[32/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/99d9eeb5
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/99d9eeb5
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/99d9eeb5
Branch: refs/heads/camel-2.16.x
Commit: 99d9eeb56208e1375a6e12355ee2c833cf5c3727
Parents: 81282af
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:21:28 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/99d9eeb5/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