public class YamlChangeLogParser extends YamlParser implements ChangeLogParser
log
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
Constructor and Description |
---|
YamlChangeLogParser() |
Modifier and Type | Method and Description |
---|---|
DatabaseChangeLog |
parse(String physicalChangeLogLocation,
ChangeLogParameters changeLogParameters,
ResourceAccessor resourceAccessor)
Parses a Liquibase database changelog and returns the parsed form as an object.
|
protected void |
replaceParameters(Object obj,
ChangeLogParameters changeLogParameters,
DatabaseChangeLog changeLog) |
createLoaderOptions, getPriority, getSupportedFileExtensions, supports
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
supports
getPriority
public DatabaseChangeLog parse(String physicalChangeLogLocation, ChangeLogParameters changeLogParameters, ResourceAccessor resourceAccessor) throws ChangeLogParseException
ChangeLogParser
parse
in interface ChangeLogParser
physicalChangeLogLocation
- the physical location of the changelog. The exact file formats and locations
where can load changelog files from depend on the implementations and capabilities of the implementing parsers.changeLogParameters
- parameters given by the end user that should be applied while parsing the changelog
(i.e. replacement of ${placeholders} inside the changelogs with user-defined content)resourceAccessor
- a Java resource accessorChangeLogParseException
- if an error occurs during parsing of the ChangeLogprotected void replaceParameters(Object obj, ChangeLogParameters changeLogParameters, DatabaseChangeLog changeLog) throws ChangeLogParseException
ChangeLogParseException
Copyright © 2023 Liquibase.org. All rights reserved.