org.apache.torque.mojo
Class ExportMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.torque.mojo.BaseMojo
          extended by org.apache.torque.mojo.AntTaskMojo
              extended by org.apache.torque.mojo.ExportMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
ExportDataMojo, ExportSchemaMojo

public abstract class ExportMojo
extends AntTaskMojo

Base Mojo for export related functionality


Field Summary
 
Fields inherited from class org.apache.torque.mojo.BaseMojo
FS, SKIP_PACKAGING_TYPE
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ExportMojo()
           
 
Method Summary
protected  void configureTask()
          Configures the Ant task which is wrapped by this mojo.
 String getArtifactId()
           
 String getComment()
           
 String getDriver()
          Returns the fully qualified class name of the database driver.
 String getExcludes()
           
 String getIncludes()
           
 String getPassword()
          Returns the password of the database user.
 String getSchema()
           
 String getTargetDatabase()
           
protected  String getUpdatedComment()
           
 String getUrl()
          Returns the connect URL to the database.
 String getUsername()
           
 boolean isAntCompatibilityMode()
           
 boolean isIncludeVersionInComment()
           
 void setAntCompatibilityMode(boolean antCompatibilityMode)
           
 void setArtifactId(String artifactId)
           
 void setComment(String comment)
           
 void setDriver(String driver)
          Sets the fully qualified class name of the database driver.
 void setExcludes(String excludePatterns)
           
 void setIncludes(String includePatterns)
           
 void setIncludeVersionInComment(boolean includeVersionInComment)
           
 void setPassword(String password)
          Sets the password of the database user.
 void setSchema(String schema)
           
 void setTargetDatabase(String targetDatabase)
           
 void setUrl(String url)
          Sets the connect URL to the database.
 void setUsername(String username)
           
 
Methods inherited from class org.apache.torque.mojo.AntTaskMojo
executeMojo, getAntProject, getAntTask, getIniatializedAntProject, setAntProject, setAntTask
 
Methods inherited from class org.apache.torque.mojo.BaseMojo
afterExecution, beforeExecution, execute, getEncoding, getMavenSession, getProject, getSettings, isForceMojoExecution, isSkip, isStartMavenLogger, setEncoding, setForceMojoExecution, setMavenSession, setProject, setSettings, setSkip, setStartMavenLogger, skipMojo
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportMojo

public ExportMojo()
Method Detail

getDriver

public String getDriver()
Returns the fully qualified class name of the database driver.


setDriver

public void setDriver(String driver)
Sets the fully qualified class name of the database driver.

Parameters:
driver - the fully qualified class name of the database driver.

getPassword

public String getPassword()
Returns the password of the database user.

Returns:
the password of the database user.

setPassword

public void setPassword(String password)
Sets the password of the database user.

Parameters:
password - the password of the database user.

getUrl

public String getUrl()
Returns the connect URL to the database.

Returns:
the connect URL to the database.

setUrl

public void setUrl(String url)
Sets the connect URL to the database.

Parameters:
url - the connect URL to the database.

getUsername

public String getUsername()

setUsername

public void setUsername(String username)

getSchema

public String getSchema()

setSchema

public void setSchema(String schema)

getTargetDatabase

public String getTargetDatabase()

setTargetDatabase

public void setTargetDatabase(String targetDatabase)

getIncludes

public String getIncludes()

setIncludes

public void setIncludes(String includePatterns)

getExcludes

public String getExcludes()

setExcludes

public void setExcludes(String excludePatterns)

getComment

public String getComment()

setComment

public void setComment(String comment)

getUpdatedComment

protected String getUpdatedComment()

configureTask

protected void configureTask()
                      throws org.apache.maven.plugin.MojoExecutionException
Description copied from class: AntTaskMojo
Configures the Ant task which is wrapped by this mojo.

Overrides:
configureTask in class AntTaskMojo
Throws:
org.apache.maven.plugin.MojoExecutionException

getArtifactId

public String getArtifactId()

setArtifactId

public void setArtifactId(String artifactId)

isAntCompatibilityMode

public boolean isAntCompatibilityMode()

setAntCompatibilityMode

public void setAntCompatibilityMode(boolean antCompatibilityMode)

isIncludeVersionInComment

public boolean isIncludeVersionInComment()
Returns:
the includeVersionInComment

setIncludeVersionInComment

public void setIncludeVersionInComment(boolean includeVersionInComment)
Parameters:
includeVersionInComment - the includeVersionInComment to set


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.