org.kuali.maven.plugins.ingester
Class IngestMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.kuali.maven.plugins.ingester.IngestMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class IngestMojo
extends org.apache.maven.plugin.AbstractMojo

Ingest workflow documents into Rice


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
IngestMojo()
           
 
Method Summary
protected  void copyToDir(File dir, List<File> files)
           
 void execute()
           
protected  DirectoryStructure getDirectoryStructure()
           
 String[] getExcludes()
           
protected  List<File> getFiles()
          Return the list of files to ingest
 String[] getIncludes()
           
 String getJdbcDriver()
           
 String getJdbcPassword()
           
 String getJdbcUrl()
           
 String getJdbcUsername()
           
 String getJdbcVendor()
           
 String getNamespace()
           
 org.apache.maven.project.MavenProject getProject()
           
 String getPropsKey()
           
 String getPropsLoc()
           
 File getSourceDir()
           
 File getWorkingDir()
           
protected  void ingest(DirectoryStructure ds)
           
protected  void mkdirs(DirectoryStructure ds)
           
protected  void prepareFileSystem(DirectoryStructure ds, List<File> files)
           
protected  void prepareProperties()
           
 void setExcludes(String[] excludes)
           
 void setIncludes(String[] includes)
           
 void setJdbcDriver(String jdbcDriver)
           
 void setJdbcPassword(String jdbcPassword)
           
 void setJdbcUrl(String jdbcUrl)
           
 void setJdbcUsername(String jdbcUsername)
           
 void setJdbcVendor(String jdbcVendor)
           
 void setNamespace(String namespace)
           
 void setPropsKey(String propsKey)
           
 void setPropsLoc(String propsLoc)
           
 void setSourceDir(File sourceDir)
           
 void setWorkingDir(File outputDir)
           
protected  void showConfig()
           
protected  String toCSV(String[] array)
           
 
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

IngestMojo

public IngestMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

toCSV

protected String toCSV(String[] array)

showConfig

protected void showConfig()
                   throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

prepareProperties

protected void prepareProperties()
                          throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

ingest

protected void ingest(DirectoryStructure ds)
               throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

prepareFileSystem

protected void prepareFileSystem(DirectoryStructure ds,
                                 List<File> files)
                          throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

getDirectoryStructure

protected DirectoryStructure getDirectoryStructure()

copyToDir

protected void copyToDir(File dir,
                         List<File> files)
                  throws IOException
Throws:
IOException

mkdirs

protected void mkdirs(DirectoryStructure ds)
               throws IOException
Throws:
IOException

getFiles

protected List<File> getFiles()
Return the list of files to ingest


getIncludes

public String[] getIncludes()

setIncludes

public void setIncludes(String[] includes)

getExcludes

public String[] getExcludes()

setExcludes

public void setExcludes(String[] excludes)

getSourceDir

public File getSourceDir()

setSourceDir

public void setSourceDir(File sourceDir)

getWorkingDir

public File getWorkingDir()

setWorkingDir

public void setWorkingDir(File outputDir)

getProject

public org.apache.maven.project.MavenProject getProject()

getNamespace

public String getNamespace()

setNamespace

public void setNamespace(String namespace)

getPropsKey

public String getPropsKey()

setPropsKey

public void setPropsKey(String propsKey)

getPropsLoc

public String getPropsLoc()

setPropsLoc

public void setPropsLoc(String propsLoc)

getJdbcUrl

public String getJdbcUrl()

setJdbcUrl

public void setJdbcUrl(String jdbcUrl)

getJdbcUsername

public String getJdbcUsername()

setJdbcUsername

public void setJdbcUsername(String jdbcUsername)

getJdbcPassword

public String getJdbcPassword()

setJdbcPassword

public void setJdbcPassword(String jdbcPassword)

getJdbcDriver

public String getJdbcDriver()

setJdbcDriver

public void setJdbcDriver(String jdbcDriver)

getJdbcVendor

public String getJdbcVendor()

setJdbcVendor

public void setJdbcVendor(String jdbcVendor)


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