@Mojo(name="fromApis", requiresDependencyResolution=COMPILE_PLUS_RUNTIME, requiresProject=true, defaultPhase=GENERATE_SOURCES) public class ApiComponentGeneratorMojo extends AbstractApiMethodBaseMojo
Modifier and Type | Field and Description |
---|---|
protected ApiProxy[] |
apis
List of API names, proxies and code generation settings.
|
protected FromJavadoc |
fromJavadoc
Common Javadoc code generation settings.
|
excludeConfigNames, excludeConfigTypes, extraOptions, substitutions
generatedSrcDir, generatedTestDir
COMPONENT_PACKAGE, componentName, componentPackage, log, OUT_PACKAGE, outPackage, PREFIX, project, scheme
Constructor and Description |
---|
ApiComponentGeneratorMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
static String |
getApiMethod(String proxyClass) |
static String |
getEndpointConfig(String proxyClass) |
static String |
getEnumConstant(String enumValue) |
static String |
getNullableOptionValues(String[] nullableOptions) |
clearSharedProjectState, getCanonicalName, getEngine, getProjectClassLoader, mergeTemplate, setSharedProjectState
@Parameter(required=true) protected ApiProxy[] apis
@Parameter protected FromJavadoc fromJavadoc
Apache Camel