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
See Also:
  • Constructor Details

    • FileWrittenEvent

      public FileWrittenEvent(Object source, String remoteHandle, Path file, int dataLen, @Nullable Throwable thrown)
  • Method Details

    • getRemoteHandle

      public String getRemoteHandle()
    • getFile

      @Nullable public Path getFile()
    • getDataLen

      public int getDataLen()
    • toString

      public String toString()
      Overrides:
      toString in class org.springframework.integration.events.IntegrationEvent