liquibase.serializer.core.formattedsql
Class FormattedSqlChangeLogSerializer

java.lang.Object
  extended by liquibase.serializer.core.formattedsql.FormattedSqlChangeLogSerializer
All Implemented Interfaces:
ChangeLogSerializer, LiquibaseSerializer, PrioritizedService

public class FormattedSqlChangeLogSerializer
extends Object
implements ChangeLogSerializer


Field Summary
 
Fields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
 
Constructor Summary
FormattedSqlChangeLogSerializer()
           
 
Method Summary
 void append(ChangeSet changeSet, File changeLogFile)
           
 int getPriority()
           
protected  Database getTargetDatabase(ChangeSet changeSet)
           
 String[] getValidFileExtensions()
           
 String serialize(LiquibaseSerializable object, boolean pretty)
           
<T extends ChangeLogChild>
void
write(List<T> children, OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormattedSqlChangeLogSerializer

public FormattedSqlChangeLogSerializer()
Method Detail

getValidFileExtensions

public String[] getValidFileExtensions()
Specified by:
getValidFileExtensions in interface LiquibaseSerializer

serialize

public String serialize(LiquibaseSerializable object,
                        boolean pretty)
Specified by:
serialize in interface LiquibaseSerializer

getTargetDatabase

protected Database getTargetDatabase(ChangeSet changeSet)

write

public <T extends ChangeLogChild> void write(List<T> children,
                                             OutputStream out)
           throws IOException
Specified by:
write in interface ChangeLogSerializer
Throws:
IOException

append

public void append(ChangeSet changeSet,
                   File changeLogFile)
            throws IOException
Specified by:
append in interface ChangeLogSerializer
Throws:
IOException

getPriority

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


Copyright © 2016 Liquibase.org. All rights reserved.