Top Fields Constructors Methods
liquibase.parser

public Class SnapshotParserFactory

extends Object
Class Inheritance
Imports
liquibase.Scope, liquibase.exception.LiquibaseException, .UnexpectedLiquibaseException, .UnknownFormatException, liquibase.resource.ResourceAccessor, java.util.ArrayList, .Collections, .Comparator, .List

Field Summary

Modifier and TypeField and Description
private static SnapshotParserFactory
private final List<SnapshotParser>
private final Comparator<SnapshotParser>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static synchronized SnapshotParserFactory
public SnapshotParser
getParser(String fileNameOrExtension, ResourceAccessor resourceAccessor)

public List<SnapshotParser>
public void
register(SnapshotParser snapshotParser)

public static synchronized void
public static synchronized void
setInstance(SnapshotParserFactory instance)

Set the instance used by this singleton.

public void
unregister(SnapshotParser snapshotParser)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

instanceback to summary
private static SnapshotParserFactory instance
parsersback to summary
private final List<SnapshotParser> parsers
snapshotParserComparatorback to summary
private final Comparator<SnapshotParser> snapshotParserComparator

Constructor Detail

SnapshotParserFactoryback to summary
private SnapshotParserFactory()

Method Detail

getInstanceback to summary
public static synchronized SnapshotParserFactory getInstance()
getParserback to summary
public SnapshotParser getParser(String fileNameOrExtension, ResourceAccessor resourceAccessor) throws LiquibaseException
getParsersback to summary
public List<SnapshotParser> getParsers()
registerback to summary
public void register(SnapshotParser snapshotParser)
resetback to summary
public static synchronized void reset()
setInstanceback to summary
public static synchronized void setInstance(SnapshotParserFactory instance)

Set the instance used by this singleton. Used primarily for testing.

unregisterback to summary
public void unregister(SnapshotParser snapshotParser)