liquibase.command
Class AbstractCommand

java.lang.Object
  extended by liquibase.command.AbstractCommand
All Implemented Interfaces:
LiquibaseCommand
Direct Known Subclasses:
ConvertCommand, DiffCommand, ExecuteSqlCommand, SnapshotCommand, VagrantCommand, WatchCommand

public abstract class AbstractCommand
extends Object
implements LiquibaseCommand


Constructor Summary
AbstractCommand()
           
 
Method Summary
 Object execute()
           
protected abstract  Object run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface liquibase.command.LiquibaseCommand
getName, validate
 

Constructor Detail

AbstractCommand

public AbstractCommand()
Method Detail

execute

public final Object execute()
                     throws CommandExecutionException
Specified by:
execute in interface LiquibaseCommand
Throws:
CommandExecutionException

run

protected abstract Object run()
                       throws Exception
Throws:
Exception


Copyright © 2015 Liquibase.org. All rights reserved.