public final class EndpointHelper extends Object
Modifier and Type | Method and Description |
---|---|
static org.apache.camel.tools.apt.helper.EndpointHelper.EndpointOptionGroupAndLabelComparator |
createGroupAndLabelComparator()
A comparator to sort the endpoint/component options according to group and label.
|
static org.apache.camel.tools.apt.helper.EndpointHelper.EndpointPathComparator |
createPathComparator(String syntax)
A comparator to sort the endpoint paths according to syntax.
|
static String |
labelAsGroupName(String label,
boolean consumerOnly,
boolean producerOnly)
Returns the group name from the given label.
|
public static String labelAsGroupName(String label, boolean consumerOnly, boolean producerOnly)
label
- the labelconsumerOnly
- whether the component is consumer onlyproducerOnly
- whether the component is producer onlypublic static org.apache.camel.tools.apt.helper.EndpointHelper.EndpointOptionGroupAndLabelComparator createGroupAndLabelComparator()
public static org.apache.camel.tools.apt.helper.EndpointHelper.EndpointPathComparator createPathComparator(String syntax)
syntax
- the endpoint uri syntaxApache Camel