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

public abstract class AbstractDbMigrationMojo extends AbstractMigrationMojo
  • Constructor Details

    • AbstractDbMigrationMojo

      public AbstractDbMigrationMojo()
  • Method Details

    • getCurrentMergeProperties

      public Properties getCurrentMergeProperties()
    • getCurrentEnvironment

      public String getCurrentEnvironment()
    • setCurrentMergeProperties

      public void setCurrentMergeProperties(Properties currentMergeProperties)
    • setCurrentEnvironment

      public void setCurrentEnvironment(String currentEnvironment)
    • 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

      public String getUrl()
    • getDriver

      public String getDriver()
    • getUsername

      public String getUsername()
    • getPassword

      public String getPassword()
    • getEnvironments

      public String getEnvironments()
    • getConfigFile

      public String getConfigFile()
    • setUrl

      public void setUrl(String url)
    • setDriver

      public void setDriver(String driver)
    • setUsername

      public void setUsername(String username)
    • setPassword

      public void setPassword(String password)
    • setEnvironments

      public void setEnvironments(String environments)
    • setConfigFile

      public void setConfigFile(String configFile)
    • getMergeProperties

      public String getMergeProperties()
    • setMergeProperties

      public void setMergeProperties(String mergeProperties)
    • databaseExists

      protected boolean databaseExists(String databaseName) throws SQLException
      Throws:
      SQLException