Package org.apache.camel.maven.packaging
Class AbstractGenerateConfigurerMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.camel.maven.packaging.AbstractGeneratorMojo
org.apache.camel.maven.packaging.AbstractGenerateConfigurerMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
GenerateConfigurerMojo,GenerateTestConfigurerMojo
Abstract class for configurer generator.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanWhether to also allow using fluent builder style as configurer (getXXX and withXXX style).static final org.jboss.jandex.DotNameprotected booleanWhether to discover configurer classes from classpath by scanning for @Configurer annotations.protected booleanWhether to skip deprecated methods.Fields inherited from class org.apache.camel.maven.packaging.AbstractGeneratorMojo
buildContext, GENERATED_MSG, NL, project, projectHelperFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractGenerateConfigurerMojo(org.apache.maven.project.MavenProjectHelper projectHelper, org.codehaus.plexus.build.BuildContext buildContext) -
Method Summary
Methods inherited from class org.apache.camel.maven.packaging.AbstractGeneratorMojo
addResourceDirectory, cache, canonicalClassName, createProperties, createProperties, execute, findConfigurations, format, getProjectClassLoader, haveResourcesChanged, isJsonFile, loadClass, newTreeSet, refresh, refresh, updateResource, updateResource, velocityMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.plugin.Mojo
execute
-
Field Details
-
CONFIGURER
public static final org.jboss.jandex.DotName CONFIGURER -
discoverClasses
@Parameter(defaultValue="true") protected boolean discoverClassesWhether to discover configurer classes from classpath by scanning for @Configurer annotations. This requires using jandex-maven-plugin. -
allowBuilderPattern
@Parameter(defaultValue="false") protected boolean allowBuilderPatternWhether to also allow using fluent builder style as configurer (getXXX and withXXX style). -
skipDeprecated
@Parameter(defaultValue="false") protected boolean skipDeprecatedWhether to skip deprecated methods.
-
-
Constructor Details
-
AbstractGenerateConfigurerMojo
protected AbstractGenerateConfigurerMojo(org.apache.maven.project.MavenProjectHelper projectHelper, org.codehaus.plexus.build.BuildContext buildContext)
-
-
Method Details