public class YamlSnapshotSerializer extends YamlSerializer implements SnapshotSerializer
Modifier and Type | Class and Description |
---|---|
static class |
YamlSnapshotSerializer.SnapshotLiquibaseRepresenter |
YamlSerializer.LiquibaseRepresenter, YamlSerializer.LiquibaseResolver
yaml
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
Constructor and Description |
---|
YamlSnapshotSerializer() |
Modifier and Type | Method and Description |
---|---|
protected YamlSerializer.LiquibaseRepresenter |
getLiquibaseRepresenter(org.yaml.snakeyaml.DumperOptions options) |
int |
getPriority() |
protected Object |
toMap(LiquibaseSerializable object) |
void |
write(DatabaseSnapshot snapshot,
OutputStream out) |
convertToMap, createDumperOptions, createYaml, getComparator, getLiquibaseResolver, getSerializableObjectFields, getValidFileExtensions, isJson, removeClassTypeMarksFromSerializedJson, 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(org.yaml.snakeyaml.DumperOptions options)
getLiquibaseRepresenter
in class YamlSerializer
public int getPriority()
getPriority
in interface PrioritizedService
Copyright © 2023 Liquibase.org. All rights reserved.