liquibase.parser.core.yaml
Class YamlChangeLogParser

java.lang.Object
  extended by liquibase.parser.core.yaml.YamlChangeLogParser
All Implemented Interfaces:
ChangeLogParser, LiquibaseParser, PrioritizedService
Direct Known Subclasses:
JsonChangeLogParser

public class YamlChangeLogParser
extends Object
implements ChangeLogParser


Field Summary
protected  Logger log
           
 
Fields inherited from interface liquibase.servicelocator.PrioritizedService
PRIORITY_DATABASE, PRIORITY_DEFAULT
 
Constructor Summary
YamlChangeLogParser()
           
 
Method Summary
 int getPriority()
           
protected  String[] getSupportedFileExtensions()
           
 DatabaseChangeLog parse(String physicalChangeLogLocation, ChangeLogParameters changeLogParameters, ResourceAccessor resourceAccessor)
           
protected  void replaceParameters(Object obj, ChangeLogParameters changeLogParameters)
           
 boolean supports(String changeLogFile, ResourceAccessor resourceAccessor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected Logger log
Constructor Detail

YamlChangeLogParser

public YamlChangeLogParser()
Method Detail

supports

public boolean supports(String changeLogFile,
                        ResourceAccessor resourceAccessor)
Specified by:
supports in interface ChangeLogParser

getSupportedFileExtensions

protected String[] getSupportedFileExtensions()

getPriority

public int getPriority()
Specified by:
getPriority in interface PrioritizedService

parse

public DatabaseChangeLog parse(String physicalChangeLogLocation,
                               ChangeLogParameters changeLogParameters,
                               ResourceAccessor resourceAccessor)
                        throws ChangeLogParseException
Specified by:
parse in interface ChangeLogParser
Throws:
ChangeLogParseException

replaceParameters

protected void replaceParameters(Object obj,
                                 ChangeLogParameters changeLogParameters)


Copyright © 2015 Liquibase.org. All rights reserved.