|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.openutils.migration.task.update.ScriptBasedDbUpdate
public class ScriptBasedDbUpdate
| Constructor Summary | |
|---|---|
ScriptBasedDbUpdate()
|
|
| Method Summary | |
|---|---|
void |
execute(javax.sql.DataSource dataSource)
Execute this db task. |
java.lang.String |
getDescription()
Returns a description for this task |
int |
getVersion()
Returns the version for this update. |
void |
setDescription(java.lang.String description)
Sets the description. |
void |
setScript(org.springframework.core.io.Resource script)
Sets the script. |
void |
setVersion(int version)
Sets the version. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScriptBasedDbUpdate()
| Method Detail |
|---|
public void setScript(org.springframework.core.io.Resource script)
script - the script to setpublic int getVersion()
getVersion in interface DbUpdatepublic void setVersion(int version)
version - the version to setpublic java.lang.String getDescription()
getDescription in interface DbTaskpublic void setDescription(java.lang.String description)
description - the description to setpublic void execute(javax.sql.DataSource dataSource)
execute in interface DbTaskdataSource - javax.sql.datasource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||