org.dbmaintain.launch.task
Class UpdateSequencesTask
java.lang.Object
org.dbmaintain.launch.task.DbMaintainTask
org.dbmaintain.launch.task.DbMaintainDatabaseTask
org.dbmaintain.launch.task.UpdateSequencesTask
public class UpdateSequencesTask
- extends DbMaintainDatabaseTask
Task that updates all sequences and identity columns to a minimum value.
- Author:
- Filip Neven, Tim Ducheyne
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lowestAcceptableSequenceValue
protected Long lowestAcceptableSequenceValue
UpdateSequencesTask
public UpdateSequencesTask()
UpdateSequencesTask
public UpdateSequencesTask(List<DbMaintainDatabase> taskDatabases,
Long lowestAcceptableSequenceValue)
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
setLowestAcceptableSequenceValue
public void setLowestAcceptableSequenceValue(Long lowestAcceptableSequenceValue)
Copyright © 2011. All Rights Reserved.