Class PdoMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.tentackle.maven.AbstractTentackleMojo
-
- org.tentackle.maven.plugin.wizard.AbstractWizardMojo
-
- org.tentackle.maven.plugin.wizard.PdoMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="pdo", inheritByDefault=false, aggregator=true) public class PdoMojo extends AbstractWizardMojoWizard to create PDO files.
Brings up an FX UI to create the PDO related Java files.Best invoked from within the directory of the maven parent of the project.
-
-
Field Summary
-
Fields inherited from class org.tentackle.maven.plugin.wizard.AbstractWizardMojo
entityAliases, filesets, modelDefaults, modelDir
-
Fields inherited from class org.tentackle.maven.AbstractTentackleMojo
charset, JDK_TOOLCHAIN, minLogLevel, resourceDirs, verbosity, verbosityLevel
-
-
Constructor Summary
Constructors Constructor Description PdoMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecuteImpl()List<PdoProfile>getPdoProfiles()protected booleanvalidate()-
Methods inherited from class org.tentackle.maven.plugin.wizard.AbstractWizardMojo
getEntityAliases, getModelDefaults, getProfiles, getStatusDir, getTemplateDir, installTemplates, loadModel, processFileSet
-
Methods inherited from class org.tentackle.maven.AbstractTentackleMojo
createPackageMap, determineEncoding, determineJavaToolVersion, determineVerbosity, execute, findResourceDirs, finishExecute, getCanonicalPath, getHostName, getMajorVersion, getMavenProject, getMavenSession, getMojoExecution, getPathRelativeToBasedir, getResourceDirName, getSettings, getSettingsDecrypter, getToolchain, getToolchain, getToolchain, getToolchainManager, getToolFinder, installJavaLoggingHandler, isExecutionRecursive, isSkippedByDefault, loadResourceFileIntoString, prepareExecute
-
-
-
-
Method Detail
-
getPdoProfiles
public List<PdoProfile> getPdoProfiles()
-
executeImpl
public void executeImpl() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Overrides:
executeImplin classAbstractWizardMojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
validate
protected boolean validate() throws org.apache.maven.plugin.MojoExecutionException- Overrides:
validatein classAbstractWizardMojo- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-