Class SftpInboundChannelAdapterSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,H>
org.springframework.integration.dsl.MessageSourceSpec<S,MS>
org.springframework.integration.file.dsl.RemoteFileInboundChannelAdapterSpec<org.apache.sshd.sftp.client.SftpClient.DirEntry,SftpInboundChannelAdapterSpec,SftpInboundFileSynchronizingMessageSource>
org.springframework.integration.sftp.dsl.SftpInboundChannelAdapterSpec
- All Implemented Interfaces:
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<org.apache.sshd.sftp.client.SftpClient.DirEntry,SftpInboundChannelAdapterSpec,SftpInboundFileSynchronizingMessageSource>
A
RemoteFileInboundChannelAdapterSpec
for an SftpInboundFileSynchronizingMessageSource
.- Since:
- 5.0
-
Field Summary
Fields inherited from class org.springframework.integration.file.dsl.RemoteFileInboundChannelAdapterSpec
synchronizer
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, target
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
ModifierConstructorDescriptionprotected
SftpInboundChannelAdapterSpec
(org.springframework.integration.file.remote.session.SessionFactory<org.apache.sshd.sftp.client.SftpClient.DirEntry> 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, temporaryFileSuffix
Methods inherited from class org.springframework.integration.dsl.MessageSourceSpec
messageHeaders
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, doGet, get, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
SftpInboundChannelAdapterSpec
protected SftpInboundChannelAdapterSpec(org.springframework.integration.file.remote.session.SessionFactory<org.apache.sshd.sftp.client.SftpClient.DirEntry> sessionFactory, @Nullable Comparator<File> comparator)
-
-
Method Details
-
patternFilter
- Specified by:
patternFilter
in classorg.springframework.integration.file.dsl.RemoteFileInboundChannelAdapterSpec<org.apache.sshd.sftp.client.SftpClient.DirEntry,
SftpInboundChannelAdapterSpec, SftpInboundFileSynchronizingMessageSource> - Parameters:
pattern
- the Ant style pattern filter to use.- See Also:
-
SftpSimplePatternFileListFilter
RemoteFileInboundChannelAdapterSpec.filter(org.springframework.integration.file.filters.FileListFilter)
-
regexFilter
- Specified by:
regexFilter
in classorg.springframework.integration.file.dsl.RemoteFileInboundChannelAdapterSpec<org.apache.sshd.sftp.client.SftpClient.DirEntry,
SftpInboundChannelAdapterSpec, SftpInboundFileSynchronizingMessageSource> - Parameters:
regex
- the RegExp pattern to use.- See Also:
-
SftpRegexPatternFileListFilter
RemoteFileInboundChannelAdapterSpec.filter(org.springframework.integration.file.filters.FileListFilter)
-