liquibase.command
Class ExecuteSqlCommand

java.lang.Object
  extended by liquibase.command.AbstractCommand
      extended by liquibase.command.ExecuteSqlCommand
All Implemented Interfaces:
LiquibaseCommand

public class ExecuteSqlCommand
extends AbstractCommand


Constructor Summary
ExecuteSqlCommand()
           
 
Method Summary
 Database getDatabase()
           
 String getName()
           
 String getSql()
           
 String getSqlFile()
           
protected  Object run()
           
 void setDatabase(Database database)
           
 void setDelimiter(String delimiter)
           
 void setSql(String sql)
           
 void setSqlFile(String sqlFile)
           
 CommandValidationErrors validate()
           
 
Methods inherited from class liquibase.command.AbstractCommand
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecuteSqlCommand

public ExecuteSqlCommand()
Method Detail

getName

public String getName()

getDatabase

public Database getDatabase()

setDatabase

public void setDatabase(Database database)

getSql

public String getSql()

setSql

public void setSql(String sql)

getSqlFile

public String getSqlFile()

setSqlFile

public void setSqlFile(String sqlFile)

setDelimiter

public void setDelimiter(String delimiter)

validate

public CommandValidationErrors validate()

run

protected Object run()
              throws Exception
Specified by:
run in class AbstractCommand
Throws:
Exception


Copyright © 2016 Liquibase.org. All rights reserved.