it.openutils.migration.task.setup
Class ExcelConfigurationTask
java.lang.Object
it.openutils.migration.task.setup.BaseDbTask
it.openutils.migration.task.setup.ExcelConfigurationTask
- All Implemented Interfaces:
- DbTask
public class ExcelConfigurationTask
- extends BaseDbTask
- implements DbTask
- Version:
- $Id: ExcelConfigurationTask.java 684 2008-02-21 21:03:49Z fgiust $
- Author:
- fgiust
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExcelConfigurationTask
public ExcelConfigurationTask()
setScript
public void setScript(org.springframework.core.io.Resource script)
- Sets the script.
- Parameters:
script - the script to set
setConfig
public void setConfig(java.util.Map<java.lang.String,ExcelConfigurationTask.QueryConfig> config)
- Sets the config.
- Parameters:
config - the config to set
setEnabled
public void setEnabled(boolean enabled)
- Sets the enabled.
- Parameters:
enabled - the enabled to set
setUpdateEnabled
public void setUpdateEnabled(boolean updateEnabled)
- Sets the updateEnabled.
- Parameters:
updateEnabled - the updateEnabled to set
execute
public void execute(javax.sql.DataSource dataSource)
- Execute this db task.
- Specified by:
execute in interface DbTask
- Parameters:
dataSource - javax.sql.datasource
suggestSheetConfig
public void suggestSheetConfig(org.apache.poi.hssf.usermodel.HSSFSheet sheet,
java.lang.String tableName,
ExcelConfigurationTask.QueryConfig con,
javax.sql.DataSource dataSource)
Copyright © 2008 Openmind. All Rights Reserved.