Class JavadocUtil
java.lang.Object
org.apache.camel.maven.packaging.generics.JavadocUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringextractJavaDoc(String sourceCode, org.jboss.forge.roaster.model.source.MethodSource<?> ms) static StringgetMainDescription(org.apache.camel.tooling.model.ComponentModel model) static StringgetMainDescription(org.apache.camel.tooling.model.ComponentModel model, boolean withPathParameterDetails) static StringpathParameterJavaDoc(org.apache.camel.tooling.model.ComponentModel model)
-
Method Details
-
getMainDescription
- Parameters:
model- the model from which the information are extracted.- Returns:
- the description of the given component with all the possible details.
-
getMainDescription
public static String getMainDescription(org.apache.camel.tooling.model.ComponentModel model, boolean withPathParameterDetails) - Parameters:
model- the model from which the information are extracted.withPathParameterDetails- indicates whether the information about the path parameters should be added to the description.- Returns:
- the description of the given component.
-
pathParameterJavaDoc
-
extractJavaDoc
public static String extractJavaDoc(String sourceCode, org.jboss.forge.roaster.model.source.MethodSource<?> ms) throws IOException - Throws:
IOException
-