|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dbmaintain.launch.task.DbMaintainTask
public abstract class DbMaintainTask
Base DbMaintain task
| Constructor Summary | |
|---|---|
DbMaintainTask()
|
|
| Method Summary | |
|---|---|
protected abstract void |
addTaskConfiguration(TaskConfiguration configuration)
Implement by adding specific configuration for this task |
protected MainFactory |
createMainFactory(TaskConfiguration taskConfiguration)
|
protected abstract boolean |
doExecute(MainFactory mainFactory)
Implement by invoking the actual behavior |
boolean |
execute()
Performs the task (e.g. updating the database) |
protected TaskConfiguration |
getTaskConfiguration(File customConfigFile)
|
void |
setConfigFile(File configFile)
|
void |
setEnvironmentProperties(Properties environmentProperties)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DbMaintainTask()
| Method Detail |
|---|
public boolean execute()
protected abstract void addTaskConfiguration(TaskConfiguration configuration)
configuration - the configuration object that assembles all dbmaintain property values, not nullprotected abstract boolean doExecute(MainFactory mainFactory)
mainFactory - The main factory, not null
protected TaskConfiguration getTaskConfiguration(File customConfigFile)
customConfigFile - A file contain custom configuration, null if there is no custom config
protected MainFactory createMainFactory(TaskConfiguration taskConfiguration)
public void setConfigFile(File configFile)
public void setEnvironmentProperties(Properties environmentProperties)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||