org.kuali.maven.plugins.ingester
Class IngestMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
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
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
IngestMojo
public IngestMojo()
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.