liquibase.change
Class ChangeFactory
java.lang.Object
liquibase.change.ChangeFactory
public class ChangeFactory
- extends Object
Factory class for constructing the correct liquibase.change.Change implementation based on the tag name.
It is currently implemented by a static array of Change implementations, although that may change in
later revisions. The best way to get an instance of ChangeFactory is off the Liquibase.getChangeFactory() method.
- See Also:
Change
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static ChangeFactory getInstance()
- Return singleton SqlGeneratorFactory
reset
public static void reset()
register
public void register(Class<? extends Change> changeClass)
unregister
public void unregister(String name)
getRegistry
public Map<String,SortedSet<Class<? extends Change>>> getRegistry()
create
public Change create(String name)
Copyright © 2012 Liquibase.org. All Rights Reserved.