liquibase.parser
Class SnapshotParserFactory

java.lang.Object
  extended by liquibase.parser.SnapshotParserFactory

public class SnapshotParserFactory
extends Object


Method Summary
static SnapshotParserFactory getInstance()
           
 SnapshotParser getParser(String fileNameOrExtension, ResourceAccessor resourceAccessor)
           
 List<SnapshotParser> getParsers()
           
 void register(SnapshotParser snapshotParser)
           
static void reset()
           
static void setInstance(SnapshotParserFactory instance)
          Set the instance used by this singleton.
 void unregister(SnapshotParser snapshotParser)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

reset

public static void reset()

getInstance

public static SnapshotParserFactory getInstance()

setInstance

public static void setInstance(SnapshotParserFactory instance)
Set the instance used by this singleton. Used primarily for testing.


getParsers

public List<SnapshotParser> getParsers()

getParser

public SnapshotParser getParser(String fileNameOrExtension,
                                ResourceAccessor resourceAccessor)
                         throws LiquibaseException
Throws:
LiquibaseException

register

public void register(SnapshotParser snapshotParser)

unregister

public void unregister(SnapshotParser snapshotParser)


Copyright © 2016 Liquibase.org. All rights reserved.