public class YamlSnapshotSerializer extends YamlSerializer implements SnapshotSerializer
Modifier and Type | Class and Description |
---|---|
static class |
YamlSnapshotSerializer.SnapshotLiquibaseRepresenter |
YamlSerializer.LiquibaseRepresenter
yaml
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
Constructor and Description |
---|
YamlSnapshotSerializer() |
Modifier and Type | Method and Description |
---|---|
protected YamlSerializer.LiquibaseRepresenter |
getLiquibaseRepresenter() |
int |
getPriority() |
protected Object |
toMap(LiquibaseSerializable object) |
void |
write(DatabaseSnapshot snapshot,
OutputStream out) |
createYaml, getComparator, getValidFileExtensions, isJson, serialize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getValidFileExtensions, serialize
public void write(DatabaseSnapshot snapshot, OutputStream out) throws IOException
write
in interface SnapshotSerializer
IOException
protected Object toMap(LiquibaseSerializable object)
toMap
in class YamlSerializer
protected YamlSerializer.LiquibaseRepresenter getLiquibaseRepresenter()
getLiquibaseRepresenter
in class YamlSerializer
public int getPriority()
getPriority
in interface PrioritizedService
Copyright © 2018 Liquibase.org. All rights reserved.