public interface JobSerializer
Modifier and Type | Method and Description |
---|---|
void |
serialize(java.lang.String format,
java.io.OutputStream outputStream) |
void |
serialize(java.lang.String format,
java.io.OutputStream outputStream,
boolean preserveUuid,
java.lang.String sourceId) |
void serialize(java.lang.String format, java.io.OutputStream outputStream) throws java.io.IOException
format
- format name: 'xml' or 'yaml'outputStream
- destinationjava.io.IOException
void serialize(java.lang.String format, java.io.OutputStream outputStream, boolean preserveUuid, java.lang.String sourceId) throws java.io.IOException
format
- format name: 'xml' or 'yaml'outputStream
- destinationpreserveUuid
- if true, preserve UUID in output, otherwise remove itsourceId
- if present, and preserveUuid is false, substitute the sourceId in place of the IDjava.io.IOException