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
- Author:
- Gary Russell
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PathRemovedEvent(Object source, Path path, boolean isDirectory, Throwable thrown)
-
Method Summary
Modifier and Type Method Description Path
getPath()
boolean
isDirectory()
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
-
getPath
-
isDirectory
public boolean isDirectory() -
toString
- Overrides:
toString
in classIntegrationEvent
-