java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.tentackle.maven.AbstractTentackleMojo
org.tentackle.maven.plugin.wizard.AbstractWizardMojo
org.tentackle.maven.plugin.wizard.BrowseMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
PDO browser.
Brings up an FX UI to analyze PDOs persisted in a database and generate test code.
Brings up an FX UI to analyze PDOs persisted in a database and generate test code.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanMap schema names to flat table names in generated SQL SELECT statements.intLimits the number of lines in generated multi-line string literals.The backend password.protected StringThe backend URL.The backend username.Fields inherited from class org.tentackle.maven.plugin.wizard.AbstractWizardMojo
entityAliases, filesets, modelDefaults, modelDirFields inherited from class org.tentackle.maven.AbstractTentackleMojo
charset, JDK_TOOLCHAIN, minLogLevel, verbosity, verbosityLevelFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected javafx.stage.StagegetStage()Gets the stage, if this an interactive FX application.protected voidLoads the model.Methods inherited from class org.tentackle.maven.plugin.wizard.AbstractWizardMojo
configureFx, getEntityAliases, getModelDefaults, getProfiles, getStatusDir, getTemplateDir, installTemplates, processFileSet, registerUncaughtExceptionHandler, validateMethods inherited from class org.tentackle.maven.AbstractTentackleMojo
createFileSetManager, createPackageMap, determineEncoding, determineJavaToolVersion, determineVerbosity, execute, finishExecute, getCanonicalPath, getHostName, getIncludedFiles, getJavaHome, getMajorVersion, getMavenProject, getMavenSession, getMojoExecution, getPathRelativeToBasedir, getResourceDir, getResourceDirs, getSettings, getSettingsDecrypter, getToolchain, getToolchain, getToolchain, getToolchainManager, getToolFinder, installJavaLoggingHandler, isExecutionRecursive, isSkippedByDefault, loadResourceFileIntoString, prepareExecute, toDescriptorNameMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
url
The backend URL. -
user
The backend username. -
password
The backend password. -
maxLinesInStringLiteral
@Parameter public int maxLinesInStringLiteralLimits the number of lines in generated multi-line string literals. -
mapSchemas
@Parameter(property="tentackle.mapSchemas") public boolean mapSchemasMap schema names to flat table names in generated SQL SELECT statements.
-
-
Constructor Details
-
BrowseMojo
public BrowseMojo()
-
-
Method Details
-
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
-
getStage
protected javafx.stage.Stage getStage()Description copied from class:AbstractWizardMojoGets the stage, if this an interactive FX application.- Specified by:
getStagein classAbstractWizardMojo- Returns:
- the stage, null if console application
-
loadModel
protected void loadModel() throws org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionExceptionDescription copied from class:AbstractWizardMojoLoads the model.Notice: the model is only needed by the
PdoMojo, but we configure it for the whole plugin.- Overrides:
loadModelin classAbstractWizardMojo- Throws:
org.apache.maven.plugin.MojoFailureException- if the model is inconsistentorg.apache.maven.plugin.MojoExecutionException- if loading failed due to some other error
-