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 <[email protected]> Authored: Thu Nov 12 09:04:04 2015 +0100 Committer: Claus Ibsen <[email protected]> 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
