public abstract class AbstractApiMethodGeneratorMojo extends AbstractApiMethodBaseMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
proxyClass |
excludeConfigNames, excludeConfigTypes, extraOptions, substitutionsaddCompileSourceRoots, generatedSrcDir, generatedTestDirCOMPONENT_PACKAGE, componentName, componentPackage, log, OUT_PACKAGE, outPackage, PREFIX, project, scheme| Constructor and Description |
|---|
AbstractApiMethodGeneratorMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.camel.util.component.ApiMethodParser |
createAdapterParser(Class proxyType) |
void |
execute() |
File |
getApiMethodFile() |
org.apache.camel.util.component.ArgumentSubstitutionParser.Substitution[] |
getArgumentSubstitutions() |
static String |
getBeanPropertySuffix(String parameter) |
String |
getCanonicalName(org.apache.camel.util.component.ApiMethodArg argument) |
static String |
getDefaultArgValue(Class<?> aClass) |
String |
getExchangePropertyPrefix() |
Class<?> |
getProxyType() |
static String |
getResultDeclaration(Class<?> resultType) |
abstract List<String> |
getSignatureList() |
static String |
getTestName(org.apache.camel.util.component.ApiMethodParser.ApiMethodModel model) |
static String |
getType(Class<?> clazz) |
static boolean |
isVoidType(Class<?> resultType) |
setCompileSourceRootsclearSharedProjectState, getCanonicalName, getEngine, getProjectClassLoader, mergeTemplate, setSharedProjectState@Parameter(required=true,
property="org.apache.camel.proxyClass")
protected String proxyClass
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected org.apache.camel.util.component.ApiMethodParser createAdapterParser(Class proxyType)
public abstract List<String> getSignatureList() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic Class<?> getProxyType() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic File getApiMethodFile() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic org.apache.camel.util.component.ArgumentSubstitutionParser.Substitution[] getArgumentSubstitutions()
public static String getTestName(org.apache.camel.util.component.ApiMethodParser.ApiMethodModel model)
public static boolean isVoidType(Class<?> resultType)
public String getExchangePropertyPrefix()
public String getCanonicalName(org.apache.camel.util.component.ApiMethodArg argument) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionApache Camel