liquibase.serializer
Class MockChangeLogSerializer

java.lang.Object
  extended by liquibase.serializer.MockChangeLogSerializer
All Implemented Interfaces:
ChangeLogSerializer

public class MockChangeLogSerializer
extends Object
implements ChangeLogSerializer


Constructor Summary
MockChangeLogSerializer(String... validExtensions)
           
 
Method Summary
 String[] getValidFileExtensions()
           
 String serialize(Change change)
           
 String serialize(ChangeSet changeSet)
           
 String serialize(ColumnConfig columnConfig)
           
 String serialize(DatabaseChangeLog databaseChangeLog)
           
 String serialize(SqlVisitor visitor)
           
 void write(List<ChangeSet> changeSets, OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockChangeLogSerializer

public MockChangeLogSerializer(String... validExtensions)
Method Detail

getValidFileExtensions

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

serialize

public String serialize(DatabaseChangeLog databaseChangeLog)
Specified by:
serialize in interface ChangeLogSerializer

serialize

public String serialize(ChangeSet changeSet)
Specified by:
serialize in interface ChangeLogSerializer

serialize

public String serialize(Change change)
Specified by:
serialize in interface ChangeLogSerializer

serialize

public String serialize(ColumnConfig columnConfig)
Specified by:
serialize in interface ChangeLogSerializer

serialize

public String serialize(SqlVisitor visitor)
Specified by:
serialize in interface ChangeLogSerializer

write

public void write(List<ChangeSet> changeSets,
                  OutputStream out)
           throws IOException
Specified by:
write in interface ChangeLogSerializer
Throws:
IOException


Copyright © 2004-2011 Liquibase.org. All Rights Reserved.