Package liquibase.serializer.core.string
Class StringChangeLogSerializer
- java.lang.Object
-
- liquibase.serializer.core.string.StringChangeLogSerializer
-
- All Implemented Interfaces:
ChangeLogSerializer
,LiquibaseSerializer
,PrioritizedService
public class StringChangeLogSerializer extends Object implements ChangeLogSerializer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StringChangeLogSerializer.FieldFilter
-
Field Summary
-
Fields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
-
-
Constructor Summary
Constructors Constructor Description StringChangeLogSerializer()
StringChangeLogSerializer(StringChangeLogSerializer.FieldFilter fieldFilter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
append(ChangeSet changeSet, File changeLogFile)
int
getPriority()
String[]
getValidFileExtensions()
String
serialize(LiquibaseSerializable object, boolean pretty)
<T extends ChangeLogChild>
voidwrite(List<T> children, OutputStream out)
-
-
-
Constructor Detail
-
StringChangeLogSerializer
public StringChangeLogSerializer()
-
StringChangeLogSerializer
public StringChangeLogSerializer(StringChangeLogSerializer.FieldFilter fieldFilter)
-
-
Method Detail
-
getValidFileExtensions
public String[] getValidFileExtensions()
- Specified by:
getValidFileExtensions
in interfaceLiquibaseSerializer
-
serialize
public String serialize(LiquibaseSerializable object, boolean pretty)
- Specified by:
serialize
in interfaceLiquibaseSerializer
-
write
public <T extends ChangeLogChild> void write(List<T> children, OutputStream out) throws IOException
- Specified by:
write
in interfaceChangeLogSerializer
- Throws:
IOException
-
append
public void append(ChangeSet changeSet, File changeLogFile) throws IOException
- Specified by:
append
in interfaceChangeLogSerializer
- Throws:
IOException
-
getPriority
public int getPriority()
- Specified by:
getPriority
in interfacePrioritizedService
-
-