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:
java.io.Serializable
public class FileWrittenEvent extends ApacheMinaSftpEvent
An event that is emitted when a file is written.
- Since:
- 5.2
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description FileWrittenEvent(java.lang.Object source, java.lang.String remoteHandle, java.nio.file.Path file, int dataLen, java.lang.Throwable thrown)
-
Method Summary
Modifier and Type Method Description int
getDataLen()
java.nio.file.Path
getFile()
java.lang.String
getRemoteHandle()
java.lang.String
toString()
Methods inherited from class org.springframework.integration.sftp.server.ApacheMinaSftpEvent
getSession
-
Constructor Details
-
FileWrittenEvent
public FileWrittenEvent(java.lang.Object source, java.lang.String remoteHandle, java.nio.file.Path file, int dataLen, @Nullable java.lang.Throwable thrown)
-
-
Method Details
-
getRemoteHandle
public java.lang.String getRemoteHandle() -
getFile
@Nullable public java.nio.file.Path getFile() -
getDataLen
public int getDataLen() -
toString
public java.lang.String toString()- Overrides:
toString
in classorg.springframework.integration.events.IntegrationEvent
-