Class SftpInboundChannelAdapterSpec
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,H>
org.springframework.integration.dsl.MessageSourceSpec<S,MS>
org.springframework.integration.file.dsl.RemoteFileInboundChannelAdapterSpec<com.jcraft.jsch.ChannelSftp.LsEntry,SftpInboundChannelAdapterSpec,SftpInboundFileSynchronizingMessageSource>
org.springframework.integration.sftp.dsl.SftpInboundChannelAdapterSpec
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,DisposableBean,FactoryBean<SftpInboundFileSynchronizingMessageSource>,InitializingBean,Lifecycle,Phased,SmartLifecycle,ComponentsRegistration
public class SftpInboundChannelAdapterSpec extends RemoteFileInboundChannelAdapterSpec<com.jcraft.jsch.ChannelSftp.LsEntry,SftpInboundChannelAdapterSpec,SftpInboundFileSynchronizingMessageSource>
- Since:
- 5.0
- Author:
- Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.file.dsl.RemoteFileInboundChannelAdapterSpec
synchronizerFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target -
Constructor Summary
Constructors Modifier Constructor Description protectedSftpInboundChannelAdapterSpec(SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory, Comparator<File> comparator) -
Method Summary
Modifier and Type Method Description SftpInboundChannelAdapterSpecpatternFilter(String pattern)Configure a simple pattern filter (e.g.SftpInboundChannelAdapterSpecregexFilter(String regex)Configure a regex pattern filter (e.g.Methods inherited from class org.springframework.integration.file.dsl.RemoteFileInboundChannelAdapterSpec
autoCreateLocalDirectory, deleteRemoteFiles, filter, filterExpression, filterFunction, getComponentsToRegister, localDirectory, localFilename, localFilenameExpression, localFilenameExpression, localFilter, maxFetchSize, metadataStorePrefix, preserveTimestamp, remoteComparator, remoteDirectory, remoteDirectoryExpression, remoteFileMetadataStore, remoteFileSeparator, scanner, temporaryFileSuffixMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopMethods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
SftpInboundChannelAdapterSpec
protected SftpInboundChannelAdapterSpec(SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory, Comparator<File> comparator)
-
-
Method Details
-
patternFilter
Description copied from class:RemoteFileInboundChannelAdapterSpecConfigure a simple pattern filter (e.g. '*.txt').- Specified by:
patternFilterin classRemoteFileInboundChannelAdapterSpec<com.jcraft.jsch.ChannelSftp.LsEntry,SftpInboundChannelAdapterSpec,SftpInboundFileSynchronizingMessageSource>- Parameters:
pattern- the Ant style pattern filter to use.- Returns:
- the spec.
- See Also:
SftpSimplePatternFileListFilter,RemoteFileInboundChannelAdapterSpec.filter(org.springframework.integration.file.filters.FileListFilter)
-
regexFilter
Description copied from class:RemoteFileInboundChannelAdapterSpecConfigure a regex pattern filter (e.g. '[0-9].*.txt').- Specified by:
regexFilterin classRemoteFileInboundChannelAdapterSpec<com.jcraft.jsch.ChannelSftp.LsEntry,SftpInboundChannelAdapterSpec,SftpInboundFileSynchronizingMessageSource>- Parameters:
regex- the RegExp pattern to use.- Returns:
- the spec.
- See Also:
SftpRegexPatternFileListFilter,RemoteFileInboundChannelAdapterSpec.filter(org.springframework.integration.file.filters.FileListFilter)
-