Class PathRemovedEvent

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.PathRemovedEvent
All Implemented Interfaces:
Serializable

public class PathRemovedEvent extends ApacheMinaSftpEvent
An event emitted when a file or directory is removed.
Since:
5.2
See Also:
  • Constructor Details

    • PathRemovedEvent

      public PathRemovedEvent(Object source, Path path, boolean isDirectory, @Nullable Throwable thrown)
  • Method Details

    • getPath

      @Nullable public Path getPath()
    • isDirectory

      public boolean isDirectory()
    • toString

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