public abstract class YamlSerializer extends Object implements LiquibaseSerializer
| Modifier and Type | Class and Description |
|---|---|
static class |
YamlSerializer.LiquibaseRepresenter |
| Modifier and Type | Field and Description |
|---|---|
protected org.yaml.snakeyaml.Yaml |
yaml |
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT| Constructor and Description |
|---|
YamlSerializer() |
| Modifier and Type | Method and Description |
|---|---|
protected org.yaml.snakeyaml.Yaml |
createYaml() |
protected Comparator<String> |
getComparator(LiquibaseSerializable object) |
protected YamlSerializer.LiquibaseRepresenter |
getLiquibaseRepresenter() |
String[] |
getValidFileExtensions() |
protected boolean |
isJson() |
String |
serialize(LiquibaseSerializable object,
boolean pretty) |
protected Object |
toMap(LiquibaseSerializable object) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPriorityprotected org.yaml.snakeyaml.Yaml createYaml()
protected YamlSerializer.LiquibaseRepresenter getLiquibaseRepresenter()
protected boolean isJson()
public String[] getValidFileExtensions()
getValidFileExtensions in interface LiquibaseSerializerpublic String serialize(LiquibaseSerializable object, boolean pretty)
serialize in interface LiquibaseSerializerprotected Object toMap(LiquibaseSerializable object)
protected Comparator<String> getComparator(LiquibaseSerializable object)
Copyright © 2018 Liquibase.org. All rights reserved.