liquibase.serializer.core.string
Class StringSnapshotSerializer

java.lang.Object
  extended by liquibase.serializer.core.string.StringSnapshotSerializer
All Implemented Interfaces:
SnapshotSerializer, PrioritizedService

public class StringSnapshotSerializer
extends Object
implements SnapshotSerializer


Field Summary
 
Fields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
 
Constructor Summary
StringSnapshotSerializer()
           
 
Method Summary
 int getPriority()
           
 String[] getValidFileExtensions()
           
 String serialize(LiquibaseSerializable object, boolean pretty)
           
 void write(DatabaseSnapshot snapshot, OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringSnapshotSerializer

public StringSnapshotSerializer()
Method Detail

getValidFileExtensions

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

serialize

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

write

public void write(DatabaseSnapshot snapshot,
                  OutputStream out)
           throws IOException
Specified by:
write in interface SnapshotSerializer
Throws:
IOException

getPriority

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


Copyright © 2015 Liquibase.org. All rights reserved.