it.openutils.migration.task.setup
Class GenericConditionalTask

java.lang.Object
  extended by it.openutils.migration.task.setup.BaseDbTask
      extended by it.openutils.migration.task.setup.GenericConditionalTask
All Implemented Interfaces:
DbTask
Direct Known Subclasses:
SqlServerGenericAlterTask

public class GenericConditionalTask
extends BaseDbTask
implements DbTask

Version:
$Id: GenericConditionalTask.java 163 2007-02-01 10:57:14Z fgiust $
Author:
fgiust

Constructor Summary
GenericConditionalTask()
           
 
Method Summary
 void execute(javax.sql.DataSource dataSource)
          Execute this db task.
 java.lang.String getCheck()
          Returns the check.
 void setCheck(java.lang.String name)
          
 void setDdl(java.lang.String ddls)
          
 
Methods inherited from class it.openutils.migration.task.setup.BaseDbTask
getDescription, setDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface it.openutils.migration.task.setup.DbTask
getDescription
 

Constructor Detail

GenericConditionalTask

public GenericConditionalTask()
Method Detail

setDdl

public void setDdl(java.lang.String ddls)


setCheck

public void setCheck(java.lang.String name)


getCheck

public java.lang.String getCheck()
Returns the check.

Returns:
the check

execute

public void execute(javax.sql.DataSource dataSource)
Execute this db task.

Specified by:
execute in interface DbTask
Parameters:
dataSource - javax.sql.datasource


Copyright © 2007 Openmind. All Rights Reserved.