Class SftpInboundChannelAdapterSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<SftpInboundChannelAdapterSpec, SftpInboundFileSynchronizingMessageSource>
org.springframework.integration.dsl.MessageSourceSpec<SftpInboundChannelAdapterSpec, SftpInboundFileSynchronizingMessageSource>
org.springframework.integration.file.dsl.RemoteFileInboundChannelAdapterSpec<org.apache.sshd.sftp.client.SftpClient.DirEntry, SftpInboundChannelAdapterSpec, SftpInboundFileSynchronizingMessageSource>
org.springframework.integration.sftp.dsl.SftpInboundChannelAdapterSpec
- All Implemented Interfaces:
DisposableBean, FactoryBean<SftpInboundFileSynchronizingMessageSource>, InitializingBean, Lifecycle, Phased, SmartLifecycle, ComponentsRegistration
public class SftpInboundChannelAdapterSpec
extends RemoteFileInboundChannelAdapterSpec<org.apache.sshd.sftp.client.SftpClient.DirEntry, SftpInboundChannelAdapterSpec, SftpInboundFileSynchronizingMessageSource>
- Since:
- 5.0
- Author:
- Artem Bilan
-
Field Summary
Fields inherited from class RemoteFileInboundChannelAdapterSpec
synchronizerFields inherited from class IntegrationComponentSpec
logger, PARSER, targetFields inherited from interface FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSftpInboundChannelAdapterSpec(SessionFactory<org.apache.sshd.sftp.client.SftpClient.DirEntry> sessionFactory, @Nullable Comparator<File> comparator) -
Method Summary
Modifier and TypeMethodDescriptionpatternFilter(String pattern) Configure a simple pattern filter (e.g.regexFilter(String regex) Configure a regex pattern filter (e.g.Methods inherited from class 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 MessageSourceSpec
messageHeadersMethods inherited from class IntegrationComponentSpec
_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FactoryBean
isSingletonMethods inherited from interface SmartLifecycle
isPauseable
-
Constructor Details
-
SftpInboundChannelAdapterSpec
protected SftpInboundChannelAdapterSpec(SessionFactory<org.apache.sshd.sftp.client.SftpClient.DirEntry> sessionFactory, @Nullable Comparator<File> comparator)
-
-
Method Details
-
patternFilter
Description copied from class:RemoteFileInboundChannelAdapterSpecConfigure a simple pattern filter (e.g. '*.txt').- Specified by:
patternFilterin classRemoteFileInboundChannelAdapterSpec<org.apache.sshd.sftp.client.SftpClient.DirEntry, SftpInboundChannelAdapterSpec, SftpInboundFileSynchronizingMessageSource>- Parameters:
pattern- the Ant style pattern filter to use.- Returns:
- the spec.
- See Also:
-
regexFilter
Description copied from class:RemoteFileInboundChannelAdapterSpecConfigure a regex pattern filter (e.g. '[0-9].*.txt').- Specified by:
regexFilterin classRemoteFileInboundChannelAdapterSpec<org.apache.sshd.sftp.client.SftpClient.DirEntry, SftpInboundChannelAdapterSpec, SftpInboundFileSynchronizingMessageSource>- Parameters:
regex- the RegExp pattern to use.- Returns:
- the spec.
- See Also:
-