/** * Configure an {@link AcceptOnceFileListFilter} if {@code preventDuplicates == true}, * otherwise nothing changed. * @param preventDuplicates true to configure an {@link AcceptOnceFileListFilter}. * @return the spec. * @see #preventDuplicates * @deprecated since 1.1 in favor of the bunch of methods usage. */ @Deprecated public FileInboundChannelAdapterSpec preventDuplicatesFilter(boolean preventDuplicates) { return preventDuplicates(preventDuplicates); }
/** * Configure an {@link AcceptOnceFileListFilter} if {@code preventDuplicates == true}, * otherwise nothing changed. * @param preventDuplicates true to configure an {@link AcceptOnceFileListFilter}. * @return the spec. * @see #preventDuplicates * @deprecated since 1.1 in favor of the bunch of methods usage. */ @Deprecated public FileInboundChannelAdapterSpec preventDuplicatesFilter(boolean preventDuplicates) { return preventDuplicates(preventDuplicates); }
/** * Configure the filter; if {@code preventDuplicates == true}, the filter is combined with an * {@link AcceptOnceFileListFilter} in a {@link CompositeFileListFilter}. * @param filter the filter. * @param preventDuplicates true to prevent duplicates. * @return the spec. * @see CompositeFileListFilter * @see AcceptOnceFileListFilter * @deprecated since 1.1 in favor of the bunch of methods usage. */ @Deprecated public FileInboundChannelAdapterSpec filter(FileListFilter<File> filter, boolean preventDuplicates) { return filter(filter) .preventDuplicates(preventDuplicates); }
/** * Configure a {@link SimplePatternFileListFilter}. * @param pattern The pattern. * @param preventDuplicates the preventDuplicates. * @return the spec. * @see FileReadingMessageSource#setFilter(FileListFilter) * @see #filter(FileListFilter, boolean) * @see #preventDuplicates * @deprecated since 1.1 in favor of the bunch of methods usage. */ @Deprecated public FileInboundChannelAdapterSpec patternFilter(String pattern, boolean preventDuplicates) { return patternFilter(pattern) .preventDuplicates(preventDuplicates); }
/** * Configure the filter; if {@code preventDuplicates == true}, the filter is combined with an * {@link AcceptOnceFileListFilter} in a {@link CompositeFileListFilter}. * @param filter the filter. * @param preventDuplicates true to prevent duplicates. * @return the spec. * @see CompositeFileListFilter * @see AcceptOnceFileListFilter * @deprecated since 1.1 in favor of the bunch of methods usage. */ @Deprecated public FileInboundChannelAdapterSpec filter(FileListFilter<File> filter, boolean preventDuplicates) { return filter(filter) .preventDuplicates(preventDuplicates); }
/** * Configure a {@link RegexPatternFileListFilter}. * @param regex The regex. * @param preventDuplicates the preventDuplicates. * @return the spec. * @see FileReadingMessageSource#setFilter(FileListFilter) * @see #filter(FileListFilter, boolean) * @see #preventDuplicates * @deprecated since 1.1 in favor of the bunch of methods usage. */ @Deprecated public FileInboundChannelAdapterSpec regexFilter(String regex, boolean preventDuplicates) { return regexFilter(regex) .preventDuplicates(preventDuplicates); }
/** * Configure a {@link RegexPatternFileListFilter}. * @param regex The regex. * @param preventDuplicates the preventDuplicates. * @return the spec. * @see FileReadingMessageSource#setFilter(FileListFilter) * @see #filter(FileListFilter, boolean) * @see #preventDuplicates * @deprecated since 1.1 in favor of the bunch of methods usage. */ @Deprecated public FileInboundChannelAdapterSpec regexFilter(String regex, boolean preventDuplicates) { return regexFilter(regex) .preventDuplicates(preventDuplicates); }
/** * Configure a {@link SimplePatternFileListFilter}. * @param pattern The pattern. * @param preventDuplicates the preventDuplicates. * @return the spec. * @see FileReadingMessageSource#setFilter(FileListFilter) * @see #filter(FileListFilter, boolean) * @see #preventDuplicates * @deprecated since 1.1 in favor of the bunch of methods usage. */ @Deprecated public FileInboundChannelAdapterSpec patternFilter(String pattern, boolean preventDuplicates) { return patternFilter(pattern) .preventDuplicates(preventDuplicates); }