Class SmbInboundChannelAdapterSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<SmbInboundChannelAdapterSpec, SmbInboundFileSynchronizingMessageSource>
org.springframework.integration.dsl.MessageSourceSpec<SmbInboundChannelAdapterSpec, SmbInboundFileSynchronizingMessageSource>
org.springframework.integration.file.dsl.RemoteFileInboundChannelAdapterSpec<jcifs.smb.SmbFile, SmbInboundChannelAdapterSpec, SmbInboundFileSynchronizingMessageSource>
org.springframework.integration.smb.dsl.SmbInboundChannelAdapterSpec
- All Implemented Interfaces:
DisposableBean,FactoryBean<SmbInboundFileSynchronizingMessageSource>,InitializingBean,Lifecycle,Phased,SmartLifecycle,ComponentsRegistration
public class SmbInboundChannelAdapterSpec
extends RemoteFileInboundChannelAdapterSpec<jcifs.smb.SmbFile, SmbInboundChannelAdapterSpec, SmbInboundFileSynchronizingMessageSource>
- Since:
- 6.0
- Author:
- Gregory Bragg, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.file.dsl.RemoteFileInboundChannelAdapterSpec
synchronizerFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSmbInboundChannelAdapterSpec(SessionFactory<jcifs.smb.SmbFile> sessionFactory, Comparator<File> comparator) -
Method Summary
Modifier and TypeMethodDescriptionpatternFilter(String pattern) Specify a simple pattern to match remote files.regexFilter(String regex) Specify a regular expression to match remote files.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, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
SmbInboundChannelAdapterSpec
protected SmbInboundChannelAdapterSpec(SessionFactory<jcifs.smb.SmbFile> sessionFactory, @Nullable Comparator<File> comparator)
-
-
Method Details
-
patternFilter
Specify a simple pattern to match remote files.- Specified by:
patternFilterin classRemoteFileInboundChannelAdapterSpec<jcifs.smb.SmbFile, SmbInboundChannelAdapterSpec, SmbInboundFileSynchronizingMessageSource>- Parameters:
pattern- the pattern.- Returns:
- the spec.
- See Also:
-
regexFilter
Specify a regular expression to match remote files.- Specified by:
regexFilterin classRemoteFileInboundChannelAdapterSpec<jcifs.smb.SmbFile, SmbInboundChannelAdapterSpec, SmbInboundFileSynchronizingMessageSource>- Parameters:
regex- the expression.- Returns:
- the spec.
- See Also:
-