Package liquibase.serializer.core.yaml
Class YamlChangeLogSerializer
java.lang.Object
liquibase.serializer.core.yaml.YamlSerializer
liquibase.serializer.core.yaml.YamlChangeLogSerializer
- All Implemented Interfaces:
ChangeLogSerializer
,LiquibaseSerializer
,PrioritizedService
- Direct Known Subclasses:
JsonChangeLogSerializer
-
Nested Class Summary
Nested classes/interfaces inherited from class liquibase.serializer.core.yaml.YamlSerializer
YamlSerializer.LiquibaseRepresenter, YamlSerializer.LiquibaseResolver
-
Field Summary
Fields inherited from class liquibase.serializer.core.yaml.YamlSerializer
yaml
Fields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected Comparator<String>
getComparator
(LiquibaseSerializable object) int
<T extends ChangeLogChild>
voidwrite
(List<T> children, OutputStream out) Methods inherited from class liquibase.serializer.core.yaml.YamlSerializer
convertToMap, createDumperOptions, createYaml, getLiquibaseRepresenter, getLiquibaseResolver, getSerializableObjectFields, getValidFileExtensions, isJson, removeClassTypeMarksFromSerializedJson, serialize, toMap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface liquibase.serializer.LiquibaseSerializer
getValidFileExtensions, serialize
-
Constructor Details
-
YamlChangeLogSerializer
public YamlChangeLogSerializer()
-
-
Method Details
-
getComparator
- Overrides:
getComparator
in classYamlSerializer
-
write
- Specified by:
write
in interfaceChangeLogSerializer
- Throws:
IOException
-
append
- Specified by:
append
in interfaceChangeLogSerializer
- Throws:
IOException
-
getPriority
public int getPriority()- Specified by:
getPriority
in interfacePrioritizedService
-