Interface ReversibleFileListFilter<F>
- Type Parameters:
F- The type that will be filtered.
- All Superinterfaces:
FileListFilter<F>
- All Known Implementing Classes:
AbstractPersistentAcceptOnceFileListFilter,AcceptOnceFileListFilter,ChainFileListFilter,CompositeFileListFilter,FileSystemPersistentAcceptOnceFileListFilter,FtpPersistentAcceptOnceFileListFilter,SftpPersistentAcceptOnceFileListFilter,SmbPersistentAcceptOnceFileListFilter
A
FileListFilter that allows the caller to reverse (roll back) state
changes.- Since:
- 4.0.4
- Author:
- Gary Russell
-
Method Summary
Modifier and TypeMethodDescriptionvoidIndicate that not all files previously passed by this filter (inFileListFilter.filterFiles(Object[])have been processed; the file must be in the list of files; it, and all files after it, will be considered to have not been processed and will be considered next time.Methods inherited from interface org.springframework.integration.file.filters.FileListFilter
accept, filterFiles, isForRecursion, supportsSingleFileFiltering
-
Method Details
-
rollback
Indicate that not all files previously passed by this filter (inFileListFilter.filterFiles(Object[])have been processed; the file must be in the list of files; it, and all files after it, will be considered to have not been processed and will be considered next time.- Parameters:
file- the file which failed.files- the list of files that were returned byFileListFilter.filterFiles(Object[]).
-