liquibase.serializer.core.yaml
Class YamlSnapshotSerializer
java.lang.Object
liquibase.serializer.core.yaml.YamlSerializer
liquibase.serializer.core.yaml.YamlSnapshotSerializer
- All Implemented Interfaces:
- LiquibaseSerializer, SnapshotSerializer, PrioritizedService
- Direct Known Subclasses:
- JsonSnapshotSerializer
public class YamlSnapshotSerializer
- extends YamlSerializer
- implements SnapshotSerializer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
YamlSnapshotSerializer
public YamlSnapshotSerializer()
write
public void write(DatabaseSnapshot snapshot,
OutputStream out)
throws IOException
- Specified by:
write
in interface SnapshotSerializer
- Throws:
IOException
toMap
protected Object toMap(LiquibaseSerializable object)
- Overrides:
toMap
in class YamlSerializer
getLiquibaseRepresenter
protected YamlSerializer.LiquibaseRepresenter getLiquibaseRepresenter()
- Overrides:
getLiquibaseRepresenter
in class YamlSerializer
getPriority
public int getPriority()
- Specified by:
getPriority
in interface PrioritizedService
Copyright © 2016 Liquibase.org. All rights reserved.