Class SftpOutboundGatewaySpec
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,H>
org.springframework.integration.dsl.MessageHandlerSpec<S,AbstractRemoteFileOutboundGateway<F>>
org.springframework.integration.file.dsl.RemoteFileOutboundGatewaySpec<com.jcraft.jsch.ChannelSftp.LsEntry,SftpOutboundGatewaySpec>
org.springframework.integration.sftp.dsl.SftpOutboundGatewaySpec
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,DisposableBean
,FactoryBean<AbstractRemoteFileOutboundGateway<com.jcraft.jsch.ChannelSftp.LsEntry>>
,InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
,ComponentsRegistration
public class SftpOutboundGatewaySpec extends RemoteFileOutboundGatewaySpec<com.jcraft.jsch.ChannelSftp.LsEntry,SftpOutboundGatewaySpec>
- Since:
- 5.0
- Author:
- Artem Bilan, Gary Russell
-
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target
-
Constructor Summary
Constructors Modifier Constructor Description protected
SftpOutboundGatewaySpec(AbstractRemoteFileOutboundGateway<com.jcraft.jsch.ChannelSftp.LsEntry> outboundGateway)
-
Method Summary
Modifier and Type Method Description SftpOutboundGatewaySpec
patternFileNameFilter(String pattern)
Specify a simple pattern to match remote files (e.g.SftpOutboundGatewaySpec
regexFileNameFilter(String regex)
Specify a simple pattern to match remote files (e.g.Methods inherited from class org.springframework.integration.file.dsl.RemoteFileOutboundGatewaySpec
autoCreateDirectory, autoCreateLocalDirectory, charset, chmod, fileExistsMode, fileNameExpression, fileNameExpression, fileNameFunction, fileNameGenerator, filter, filterExpression, filterFunction, getComponentsToRegister, localDirectory, localDirectory, localDirectoryExpression, localDirectoryExpression, localFilenameExpression, localFilenameExpression, localFilenameFunction, mputFilter, mputFilterExpression, mputFilterFunction, options, options, patternMputFilter, regexMputFilter, remoteDirectoryExpression, remoteDirectoryExpression, remoteDirectoryFunction, remoteFileSeparator, renameExpression, renameExpression, renameFunction, temporaryFileSuffix, temporaryRemoteDirectoryExpression, temporaryRemoteDirectoryExpression, temporaryRemoteDirectoryFunction, useTemporaryFileName
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
SftpOutboundGatewaySpec
protected SftpOutboundGatewaySpec(AbstractRemoteFileOutboundGateway<com.jcraft.jsch.ChannelSftp.LsEntry> outboundGateway)
-
-
Method Details
-
patternFileNameFilter
Description copied from class:RemoteFileOutboundGatewaySpec
Specify a simple pattern to match remote files (e.g. '*.txt').- Specified by:
patternFileNameFilter
in classRemoteFileOutboundGatewaySpec<com.jcraft.jsch.ChannelSftp.LsEntry,SftpOutboundGatewaySpec>
- Parameters:
pattern
- the pattern.- Returns:
- the spec.
- See Also:
SftpSimplePatternFileListFilter
-
regexFileNameFilter
Description copied from class:RemoteFileOutboundGatewaySpec
Specify a simple pattern to match remote files (e.g. '[0-9].*.txt').- Specified by:
regexFileNameFilter
in classRemoteFileOutboundGatewaySpec<com.jcraft.jsch.ChannelSftp.LsEntry,SftpOutboundGatewaySpec>
- Parameters:
regex
- the regex pattern.- Returns:
- the spec.
- See Also:
SftpRegexPatternFileListFilter
-