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
EMPTY_MAP_DO_NOT_SERIALIZE, noSnapshotIdFound, yamlFields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected 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, toMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface liquibase.serializer.LiquibaseSerializer
getValidFileExtensions, serialize
-
Constructor Details
-
YamlChangeLogSerializer
public YamlChangeLogSerializer()
-
-
Method Details
-
getComparator
- Overrides:
getComparatorin classYamlSerializer
-
write
- Specified by:
writein interfaceChangeLogSerializer- Throws:
IOException
-
append
- Specified by:
appendin interfaceChangeLogSerializer- Throws:
IOException
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfacePrioritizedService
-