public static interface FileTransformerConfiguration.Builder extends CopyableBuilder<FileTransformerConfiguration.Builder,FileTransformerConfiguration>
| Modifier and Type | Method and Description |
|---|---|
FileTransformerConfiguration.Builder |
executorService(ExecutorService executorService)
Configures the
ExecutorService the writes should be executed on. |
FileTransformerConfiguration.Builder |
failureBehavior(FileTransformerConfiguration.FailureBehavior failureBehavior)
Configures the
FileTransformerConfiguration.FailureBehavior in the event of an error |
FileTransformerConfiguration.Builder |
fileWriteOption(FileTransformerConfiguration.FileWriteOption fileWriteOption)
Configures how to write the file
|
FileTransformerConfiguration.Builder |
position(Long writePosition)
Exclusively used with
FileTransformerConfiguration.FileWriteOption.WRITE_TO_POSITION. |
copyapplyMutation, buildFileTransformerConfiguration.Builder fileWriteOption(FileTransformerConfiguration.FileWriteOption fileWriteOption)
fileWriteOption - the file write optionFileTransformerConfiguration.Builder failureBehavior(FileTransformerConfiguration.FailureBehavior failureBehavior)
FileTransformerConfiguration.FailureBehavior in the event of an errorfailureBehavior - the failure behaviorFileTransformerConfiguration.Builder executorService(ExecutorService executorService)
ExecutorService the writes should be executed on.executorService - the executor service to use, or null if using the default thread pool.FileTransformerConfiguration.Builder position(Long writePosition)
FileTransformerConfiguration.FileWriteOption.WRITE_TO_POSITION. Configures the position, where to start writing to the
existing file. The location correspond to the first byte where new data will be written. For example, if 128 is
configured, bytes 0-127 of the existing file will remain untouched and data will be written starting at byte 128. If
not specified, defaults to 0.writePosition - the position at where to start writing data to the file.Copyright © 2026. All rights reserved.