|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.openutils.migration.task.setup.BaseDbTask
it.openutils.migration.task.setup.BaseConditionalTask
it.openutils.migration.generic.JdbcIfTableExistsConditionalTask
public class JdbcIfTableExistsConditionalTask
Task that executes if a given table exists.
| Field Summary | |
|---|---|
protected java.lang.String |
catalog
Catalog. |
protected java.lang.String |
schema
Schema. |
protected java.lang.String |
table
Table name. |
| Fields inherited from class it.openutils.migration.task.setup.BaseConditionalTask |
|---|
ddl, log, not, scripts, variables |
| Fields inherited from class it.openutils.migration.task.setup.BaseDbTask |
|---|
description |
| Constructor Summary | |
|---|---|
JdbcIfTableExistsConditionalTask()
|
|
| Method Summary | |
|---|---|
boolean |
check(org.springframework.jdbc.core.simple.SimpleJdbcTemplate jdbcTemplate)
Subclasses need to override this method and provide specific checks. |
void |
setCatalog(java.lang.String catalog)
Sets the catalog. |
void |
setSchema(java.lang.String schema)
Sets the schema. |
void |
setTable(java.lang.String table)
Sets the table. |
| Methods inherited from class it.openutils.migration.task.setup.BaseConditionalTask |
|---|
execute, executeSingle, getDescription, objectNameFromFileName, performSubstitution, setDdl, setDdlScript, setNot, setScripts |
| Methods inherited from class it.openutils.migration.task.setup.BaseDbTask |
|---|
setDescription |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String table
protected java.lang.String catalog
protected java.lang.String schema
| Constructor Detail |
|---|
public JdbcIfTableExistsConditionalTask()
| Method Detail |
|---|
public void setCatalog(java.lang.String catalog)
catalog - the catalog to setpublic void setSchema(java.lang.String schema)
schema - the schema to setpublic void setTable(java.lang.String table)
table - the table to setpublic boolean check(org.springframework.jdbc.core.simple.SimpleJdbcTemplate jdbcTemplate)
check in class BaseConditionalTaskjdbcTemplate - SimpleJdbcTemplate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||