Class FileChangeEvent
java.lang.Object
io.quarkus.deployment.dev.filesystem.watch.FileChangeEvent
The event object that is fired when a file system change is detected.
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionFileChangeEvent
(File file, FileChangeEvent.Type type) Construct a new instance. -
Method Summary
-
Constructor Details
-
FileChangeEvent
Construct a new instance.- Parameters:
file
- the file which is being watchedtype
- the type of event that was encountered
-
-
Method Details
-
getFile
Get the file which was being watched.- Returns:
- the file which was being watched
-
getType
Get the type of event.- Returns:
- the type of event
-