public abstract class AbstractEnhancerMojo extends AbstractDataNucleusMojo
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
alwaysDetachable |
protected boolean |
detachListener |
protected boolean |
generateConstructor |
protected boolean |
generatePK |
protected boolean |
quiet |
protected String |
useFileListFile |
api, fork, ignoreMetaDataForMissingClasses, jdkLogConfiguration, log4jConfiguration, metadataDirectory, metadataExcludes, metadataIncludes, persistenceUnitName, pluginArtifacts, verbose| Constructor and Description |
|---|
AbstractEnhancerMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
determineUseFileListFile() |
protected void |
enhance(List pluginArtifacts,
List files)
Run the DataNucleus Enhancer using the specified input data.
|
protected void |
executeDataNucleusTool(List pluginArtifacts,
List files)
Method to execute the enhancer using the provided artifacts and input files.
|
protected String |
getToolName()
Accessor for the name of the class to be invoked.
|
protected abstract void |
prepareModeSpecificCommandLineArguments(org.codehaus.plexus.util.cli.Commandline cl,
List args)
Template method that sets up arguments for the enhancer depending upon the mode invoked.
|
execute, executeCommandLine, executeInJvm, findMetadataFiles, getJdkLogConfiguration, getLog4JConfiguration, getUniqueClasspathElementsprotected boolean quiet
protected boolean alwaysDetachable
protected boolean generatePK
protected boolean generateConstructor
protected boolean detachListener
protected String useFileListFile
protected void executeDataNucleusTool(List pluginArtifacts, List files) throws org.codehaus.plexus.util.cli.CommandLineException, org.apache.maven.plugin.MojoExecutionException
executeDataNucleusTool in class AbstractDataNucleusMojopluginArtifacts - Artifacts to use in CLASSPATH generationfiles - Input filesorg.codehaus.plexus.util.cli.CommandLineExceptionorg.apache.maven.plugin.MojoExecutionExceptionprotected void enhance(List pluginArtifacts, List files) throws org.codehaus.plexus.util.cli.CommandLineException, org.apache.maven.plugin.MojoExecutionException
pluginArtifacts - for creating classpath for execution.files - input file listorg.codehaus.plexus.util.cli.CommandLineException - if there was an error invoking the DataNucleus Enhancer.org.apache.maven.plugin.MojoExecutionExceptionprotected abstract void prepareModeSpecificCommandLineArguments(org.codehaus.plexus.util.cli.Commandline cl,
List args)
cl - Commandline instance to set up arguments for.args - Arguments list generated by this call (appended to)protected String getToolName()
getToolName in class AbstractDataNucleusMojoprotected boolean determineUseFileListFile()
Copyright © 2019. All rights reserved.