org.dbmaintain.launch.task
Class MarkErrorScriptRevertedTask

java.lang.Object
  extended by org.dbmaintain.launch.task.DbMaintainTask
      extended by org.dbmaintain.launch.task.DbMaintainDatabaseTask
          extended by org.dbmaintain.launch.task.MarkErrorScriptRevertedTask

public class MarkErrorScriptRevertedTask
extends DbMaintainDatabaseTask

Task that indicates that the failed script was manually reverted. The script will be run again in the next update. No scripts will be executed by this task.

Author:
Tim Ducheyne, Filip Neven

Field Summary
 
Fields inherited from class org.dbmaintain.launch.task.DbMaintainDatabaseTask
databases
 
Constructor Summary
MarkErrorScriptRevertedTask()
           
MarkErrorScriptRevertedTask(List<DbMaintainDatabase> taskDatabases)
           
 
Method Summary
protected  void addTaskConfiguration(TaskConfiguration taskConfiguration)
          Implement by adding specific configuration for this task
protected  boolean doExecute(MainFactory mainFactory)
          Implement by invoking the actual behavior
 
Methods inherited from class org.dbmaintain.launch.task.DbMaintainDatabaseTask
setDatabases
 
Methods inherited from class org.dbmaintain.launch.task.DbMaintainTask
createMainFactory, execute, getTaskConfiguration, setConfigFile, setEnvironmentProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarkErrorScriptRevertedTask

public MarkErrorScriptRevertedTask()

MarkErrorScriptRevertedTask

public MarkErrorScriptRevertedTask(List<DbMaintainDatabase> taskDatabases)
Method Detail

addTaskConfiguration

protected void addTaskConfiguration(TaskConfiguration taskConfiguration)
Description copied from class: DbMaintainTask
Implement by adding specific configuration for this task

Specified by:
addTaskConfiguration in class DbMaintainTask
Parameters:
taskConfiguration - the configuration object that assembles all dbmaintain property values, not null

doExecute

protected boolean doExecute(MainFactory mainFactory)
Description copied from class: DbMaintainTask
Implement by invoking the actual behavior

Specified by:
doExecute in class DbMaintainTask
Parameters:
mainFactory - The main factory, not null
Returns:
True if the task was performed


Copyright © 2011. All Rights Reserved.