Package org.apache.camel.maven.packaging
Class MojoHelper
java.lang.Object
org.apache.camel.maven.packaging.MojoHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringannotationValue(org.jboss.jandex.AnnotationInstance ann, String key) static StringannotationValue(org.jboss.jandex.AnnotationInstance ann, String key, String subKey) getComponentPath(Path dir) static StringgetPrimitiveType(String name) Gets the JSON schema primitive type.static StringGets the JSON schema type.
-
Method Details
-
getComponentPath
-
annotationValue
-
annotationValue
-
getType
Gets the JSON schema type.- Parameters:
type- the java type- Returns:
- the json schema type, is never null, but returns object as the generic type
-
getPrimitiveType
Gets the JSON schema primitive type.- Parameters:
name- the java type- Returns:
- the json schema primitive type, or null if not a primitive
-