Package liquibase.serializer.core.string
Class StringSnapshotSerializerReadable
java.lang.Object
liquibase.serializer.core.string.StringSnapshotSerializerReadable
- All Implemented Interfaces:
SnapshotSerializer
,PrioritizedService
-
Field Summary
Fields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addDivider
(StringBuilder buffer) int
String[]
protected void
outputObjects
(List objects, Class type, StringBuilder catalogBuffer) serialize
(LiquibaseSerializable object, boolean pretty) protected boolean
shouldExpandNestedObject
(Object nestedValue, DatabaseObject container) void
write
(DatabaseSnapshot snapshot, OutputStream out)
-
Constructor Details
-
StringSnapshotSerializerReadable
public StringSnapshotSerializerReadable()
-
-
Method Details
-
getValidFileExtensions
- Specified by:
getValidFileExtensions
in interfaceSnapshotSerializer
-
serialize
- Specified by:
serialize
in interfaceSnapshotSerializer
-
outputObjects
-
shouldExpandNestedObject
-
addDivider
-
write
- Specified by:
write
in interfaceSnapshotSerializer
- Throws:
IOException
-
getPriority
public int getPriority()- Specified by:
getPriority
in interfacePrioritizedService
-