Interface FilterConfig
- All Known Implementing Classes:
FilterExecutionFromSysFunction,FilterExecutionJava
public interface FilterConfig
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<InputStreamSupplier>ifNeedsFileInput(Supplier<Path> pathRequester, BiConsumer<Path, FileWritingProcess> processCallback) ifNeedsFileOutput(Supplier<Path> pathRequester, BiConsumer<Path, FileWritingProcess> processCallback) outputToFile(Path path) If explicit output to a file is requested, the handler set via ifNeedsFileOutput will not be called.If the execution requires the generation of an intermediate file, the handler for ifNeedsFileOutput should be calledpipeInto(FilterEngine nextFilter) booleanMethod yields true if the filter needs to create an intermediary output file
-
Method Details
-
execStream
io.reactivex.rxjava3.core.Single<InputStreamSupplier> execStream() -
ifNeedsFileInput
FilterConfig ifNeedsFileInput(Supplier<Path> pathRequester, BiConsumer<Path, FileWritingProcess> processCallback) -
ifNeedsFileOutput
FilterConfig ifNeedsFileOutput(Supplier<Path> pathRequester, BiConsumer<Path, FileWritingProcess> processCallback) -
pipeInto
-
outputToFile
If explicit output to a file is requested, the handler set via ifNeedsFileOutput will not be called.- Parameters:
path-- Returns:
-
outputToStream
Destination outputToStream()If the execution requires the generation of an intermediate file, the handler for ifNeedsFileOutput should be called- Returns:
-
requiresFileOutput
boolean requiresFileOutput()Method yields true if the filter needs to create an intermediary output file- Returns:
-