Package org.apache.camel.maven
Class JavaSourceApiMethodGeneratorMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.camel.maven.AbstractGeneratorMojo
org.apache.camel.maven.AbstractSourceGeneratorMojo
org.apache.camel.maven.AbstractApiMethodBaseMojo
org.apache.camel.maven.AbstractApiMethodGeneratorMojo
org.apache.camel.maven.JavaSourceApiMethodGeneratorMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="fromSource",
requiresDependencyResolution=TEST,
requiresProject=true,
defaultPhase=GENERATE_SOURCES,
threadSafe=true)
public class JavaSourceApiMethodGeneratorMojo
extends AbstractApiMethodGeneratorMojo
Parses ApiMethod signatures from source.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected BooleanFields inherited from class org.apache.camel.maven.AbstractApiMethodGeneratorMojo
aliases, apiDescription, apiName, classPrefix, consumerOnly, nullableOptions, producerOnly, proxyClassFields inherited from class org.apache.camel.maven.AbstractApiMethodBaseMojo
excludeConfigNames, excludeConfigTypes, extraOptions, substitutionsFields inherited from class org.apache.camel.maven.AbstractSourceGeneratorMojo
addCompileSourceRoots, generatedSrcDir, generatedTestDirFields inherited from class org.apache.camel.maven.AbstractGeneratorMojo
COMPONENT_PACKAGE, componentName, componentPackage, log, OUT_PACKAGE, outPackage, PREFIX, project, schemeFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.camel.maven.AbstractApiMethodGeneratorMojo
createAdapterParser, executeInternal, getAliases, getApiDescription, getApiMethodFile, getApiMethods, getApiMethodsForParam, getApiName, getArgumentSubstitutions, getBeanPropertySuffix, getCanonicalName, getDefaultArgValue, getDoc, getExchangePropertyPrefix, getProxyType, getResultDeclaration, getTestName, getType, hasDoc, isOptionalParameter, isVoidTypeMethods inherited from class org.apache.camel.maven.AbstractSourceGeneratorMojo
setCompileSourceRootsMethods inherited from class org.apache.camel.maven.AbstractGeneratorMojo
execute, getCanonicalName, getEngine, getProjectClassLoader, mergeTemplate, refresh, setProjectClassLoader, updateResourceMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
DEFAULT_EXCLUDE_PACKAGES
- See Also:
-
excludePackages
@Parameter(property="org.apache.camel.excludePackages", defaultValue="javax?\\.lang.*") protected String excludePackages -
excludeClasses
-
includeMethods
-
excludeMethods
-
includeStaticMethods
-
-
Constructor Details
-
JavaSourceApiMethodGeneratorMojo
public JavaSourceApiMethodGeneratorMojo()
-
-
Method Details
-
getSignatureList
public List<SignatureModel> getSignatureList() throws org.apache.maven.plugin.MojoExecutionException- Specified by:
getSignatureListin classAbstractApiMethodGeneratorMojo- Throws:
org.apache.maven.plugin.MojoExecutionException
-