Package org.javalite.db_migrator.maven
Class AbstractDbMigrationMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.javalite.db_migrator.maven.AbstractMigrationMojo
org.javalite.db_migrator.maven.AbstractDbMigrationMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
CheckMojo
,CreateMojo
,DropMojo
,MigrateMojo
,ResetMojo
,ValidateMojo
-
Field Summary
Fields inherited from class org.javalite.db_migrator.maven.AbstractMigrationMojo
project
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
databaseExists(String databaseName)
void
execute()
abstract void
getUrl()
void
setConfigFile(String configFile)
void
setCurrentEnvironment(String currentEnvironment)
void
setCurrentMergeProperties(Properties currentMergeProperties)
void
void
setEnvironments(String environments)
void
setMergeProperties(String mergeProperties)
void
setPassword(String password)
void
void
setUsername(String username)
Methods inherited from class org.javalite.db_migrator.maven.AbstractMigrationMojo
getCreateSql, getDropSql, getEncoding, getMigrationsPath, getProject, setCreateSql, setDropSql, setMigrationsPath, setProject, toAbsolutePath, toAbsolutePath
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
AbstractDbMigrationMojo
public AbstractDbMigrationMojo()
-
-
Method Details
-
getCurrentMergeProperties
-
getCurrentEnvironment
-
setCurrentMergeProperties
-
setCurrentEnvironment
-
execute
public final void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
executeMojo
public abstract void executeMojo() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getUrl
-
getDriver
-
getUsername
-
getPassword
-
getEnvironments
-
getConfigFile
-
setUrl
-
setDriver
-
setUsername
-
setPassword
-
setEnvironments
-
setConfigFile
-
getMergeProperties
-
setMergeProperties
-
databaseExists
- Throws:
SQLException
-