Class PathMovedEvent
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.PathMovedEvent
- All Implemented Interfaces:
java.io.Serializable
public class PathMovedEvent extends ApacheMinaSftpEvent
An event emitted when a path is moved.
- Since:
- 5.2
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PathMovedEvent(java.lang.Object source, java.nio.file.Path srcPath, java.nio.file.Path dstPath, java.lang.Throwable thrown)
-
Method Summary
Modifier and Type Method Description java.nio.file.Path
getDstPath()
java.nio.file.Path
getSrcPath()
java.lang.String
toString()
Methods inherited from class org.springframework.integration.sftp.server.ApacheMinaSftpEvent
getSession
-
Constructor Details
-
PathMovedEvent
public PathMovedEvent(java.lang.Object source, java.nio.file.Path srcPath, java.nio.file.Path dstPath, @Nullable java.lang.Throwable thrown)
-
-
Method Details
-
getSrcPath
@Nullable public java.nio.file.Path getSrcPath() -
getDstPath
@Nullable public java.nio.file.Path getDstPath() -
toString
public java.lang.String toString()- Overrides:
toString
in classorg.springframework.integration.events.IntegrationEvent
-