Package liquibase.parser
Class SnapshotParserFactory
java.lang.Object
liquibase.parser.SnapshotParserFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic SnapshotParserFactory
getParser
(String fileNameOrExtension, ResourceAccessor resourceAccessor) void
register
(SnapshotParser snapshotParser) static void
reset()
static void
setInstance
(SnapshotParserFactory instance) Set the instance used by this singleton.void
unregister
(SnapshotParser snapshotParser)
-
Method Details
-
reset
public static void reset() -
getInstance
-
setInstance
Set the instance used by this singleton. Used primarily for testing. -
getParsers
-
getParser
public SnapshotParser getParser(String fileNameOrExtension, ResourceAccessor resourceAccessor) throws LiquibaseException - Throws:
LiquibaseException
-
register
-
unregister
-