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:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<SftpInboundFileSynchronizingMessageSource>,org.springframework.beans.factory.InitializingBean,org.springframework.context.Lifecycle,org.springframework.context.Phased,org.springframework.context.SmartLifecycle,org.springframework.integration.dsl.ComponentsRegistration
public class SftpInboundChannelAdapterSpec
extends org.springframework.integration.file.dsl.RemoteFileInboundChannelAdapterSpec<com.jcraft.jsch.ChannelSftp.LsEntry,SftpInboundChannelAdapterSpec,SftpInboundFileSynchronizingMessageSource>
A
RemoteFileInboundChannelAdapterSpec for an SftpInboundFileSynchronizingMessageSource.- Since:
- 5.0
-
Field Summary
Fields inherited from class org.springframework.integration.file.dsl.RemoteFileInboundChannelAdapterSpec
synchronizerFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, targetFields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
loggerFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSftpInboundChannelAdapterSpec(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory, Comparator<File> comparator) -
Method Summary
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.MessageSourceSpec
messageHeadersMethods 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(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory, Comparator<File> comparator)
-
-
Method Details
-
patternFilter
- Specified by:
patternFilterin classorg.springframework.integration.file.dsl.RemoteFileInboundChannelAdapterSpec<com.jcraft.jsch.ChannelSftp.LsEntry,SftpInboundChannelAdapterSpec, SftpInboundFileSynchronizingMessageSource> - Parameters:
pattern- the Ant style pattern filter to use.- See Also:
-
SftpSimplePatternFileListFilterRemoteFileInboundChannelAdapterSpec.filter(org.springframework.integration.file.filters.FileListFilter)
-
regexFilter
- Specified by:
regexFilterin classorg.springframework.integration.file.dsl.RemoteFileInboundChannelAdapterSpec<com.jcraft.jsch.ChannelSftp.LsEntry,SftpInboundChannelAdapterSpec, SftpInboundFileSynchronizingMessageSource> - Parameters:
regex- the RegExp pattern to use.- See Also:
-
SftpRegexPatternFileListFilterRemoteFileInboundChannelAdapterSpec.filter(org.springframework.integration.file.filters.FileListFilter)
-