Class FileWrittenEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.integration.events.IntegrationEvent
org.springframework.integration.file.remote.server.FileServerEvent
org.springframework.integration.sftp.server.ApacheMinaSftpEvent
org.springframework.integration.sftp.server.FileWrittenEvent
- All Implemented Interfaces:
Serializable
public class FileWrittenEvent extends ApacheMinaSftpEvent
An event that is emitted when a file is written.
- Since:
- 5.2
- Author:
- Gary Russell
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description FileWrittenEvent(Object source, String remoteHandle, Path file, int dataLen, Throwable thrown)
-
Method Summary
Modifier and Type Method Description int
getDataLen()
Path
getFile()
String
getRemoteHandle()
String
toString()
Methods inherited from class org.springframework.integration.sftp.server.ApacheMinaSftpEvent
getSession
Methods inherited from class org.springframework.integration.events.IntegrationEvent
getCause, getSourceAsType
-
Constructor Details
-
Method Details
-
getRemoteHandle
-
getFile
-
getDataLen
public int getDataLen() -
toString
- Overrides:
toString
in classIntegrationEvent
-