Class SftpOutboundGatewaySpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<SftpOutboundGatewaySpec, AbstractRemoteFileOutboundGateway<org.apache.sshd.sftp.client.SftpClient.DirEntry>>
org.springframework.integration.dsl.MessageHandlerSpec<SftpOutboundGatewaySpec, AbstractRemoteFileOutboundGateway<org.apache.sshd.sftp.client.SftpClient.DirEntry>>
org.springframework.integration.file.dsl.RemoteFileOutboundGatewaySpec<org.apache.sshd.sftp.client.SftpClient.DirEntry, SftpOutboundGatewaySpec>
org.springframework.integration.sftp.dsl.SftpOutboundGatewaySpec
- All Implemented Interfaces:
DisposableBean, FactoryBean<AbstractRemoteFileOutboundGateway<org.apache.sshd.sftp.client.SftpClient.DirEntry>>, InitializingBean, Lifecycle, Phased, SmartLifecycle, ComponentsRegistration
public class SftpOutboundGatewaySpec
extends RemoteFileOutboundGatewaySpec<org.apache.sshd.sftp.client.SftpClient.DirEntry, SftpOutboundGatewaySpec>
- Since:
- 5.0
- Author:
- Artem Bilan, Gary Russell
-
Field Summary
Fields inherited from class IntegrationComponentSpec
logger, PARSER, targetFields inherited from interface FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSftpOutboundGatewaySpec(AbstractRemoteFileOutboundGateway<org.apache.sshd.sftp.client.SftpClient.DirEntry> outboundGateway) -
Method Summary
Modifier and TypeMethodDescriptionpatternFileNameFilter(String pattern) Specify a simple pattern to match remote files (e.g.regexFileNameFilter(String regex) Specify a simple pattern to match remote files (e.g.Methods inherited from class RemoteFileOutboundGatewaySpec
autoCreateDirectory, autoCreateLocalDirectory, charset, chmod, fileExistsMode, fileExistsModeExpression, fileExistsModeExpression, fileExistsModeFunction, 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, useTemporaryFileNameMethods 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
-
SftpOutboundGatewaySpec
protected SftpOutboundGatewaySpec(AbstractRemoteFileOutboundGateway<org.apache.sshd.sftp.client.SftpClient.DirEntry> outboundGateway)
-
-
Method Details
-
patternFileNameFilter
Description copied from class:RemoteFileOutboundGatewaySpecSpecify a simple pattern to match remote files (e.g. '*.txt').- Specified by:
patternFileNameFilterin classRemoteFileOutboundGatewaySpec<org.apache.sshd.sftp.client.SftpClient.DirEntry, SftpOutboundGatewaySpec>- Parameters:
pattern- the pattern.- Returns:
- the spec.
- See Also:
-
regexFileNameFilter
Description copied from class:RemoteFileOutboundGatewaySpecSpecify a simple pattern to match remote files (e.g. '[0-9].*.txt').- Specified by:
regexFileNameFilterin classRemoteFileOutboundGatewaySpec<org.apache.sshd.sftp.client.SftpClient.DirEntry, SftpOutboundGatewaySpec>- Parameters:
regex- the regex pattern.- Returns:
- the spec.
- See Also:
-