org.jasig.portal.tools.dbloader
Class DbLoaderConfiguration
java.lang.Object
org.jasig.portal.tools.dbloader.DbLoaderConfiguration
public class DbLoaderConfiguration
- extends Object
Configuration for the DbLoader, includes commons-cli Options set for command line use.
- Version:
- $Revision: 19776 $
- Author:
- Eric Dalquist
DbLoaderConfiguration
public DbLoaderConfiguration(org.apache.commons.cli.CommandLine commandLine)
DbLoaderConfiguration
public DbLoaderConfiguration(boolean dropTables,
boolean createTables,
boolean populateTables,
Resource tablesFile,
Resource dataFile,
String scriptFile)
getOptions
public static org.apache.commons.cli.Options getOptions()
getTablesFile
public Resource getTablesFile()
- Returns:
- the tablesFile
getDataFile
public Resource getDataFile()
- Returns:
- the dataFile
getScriptFile
public String getScriptFile()
- Returns:
- the scriptFile
isDropTables
public boolean isDropTables()
- Returns:
- the dropTables
isCreateTables
public boolean isCreateTables()
- Returns:
- the createTables
isPopulateTables
public boolean isPopulateTables()
- Returns:
- the populateTables
equals
public boolean equals(Object object)
- Overrides:
equals in class Object
- See Also:
Object.equals(Object)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
- See Also:
Object.hashCode()
toString
public String toString()
- Overrides:
toString in class Object
- See Also:
Object.toString()
Copyright © 2010 Jasig. All Rights Reserved.