Package com.swoval.files
Class PathWatchers.Event.Kind
- java.lang.Object
-
- com.swoval.files.PathWatchers.Event.Kind
-
- Enclosing class:
- PathWatchers.Event
public static class PathWatchers.Event.Kind extends java.lang.ObjectAn enum like class to indicate the type of file event. It isn't an actual enum because the scala.js codegen has problems with enum types.
-
-
Field Summary
Fields Modifier and Type Field Description static PathWatchers.Event.KindCreateA new file was created.static PathWatchers.Event.KindDeleteThe file was deleted.static PathWatchers.Event.KindErrorAn error occurred processing the event.static PathWatchers.Event.KindModifyAn existing file was modified.static PathWatchers.Event.KindOverflowThe watching service overflowed so it may be necessary to poll.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
Create
public static final PathWatchers.Event.Kind Create
A new file was created.
-
Delete
public static final PathWatchers.Event.Kind Delete
The file was deleted.
-
Error
public static final PathWatchers.Event.Kind Error
An error occurred processing the event.
-
Modify
public static final PathWatchers.Event.Kind Modify
An existing file was modified.
-
Overflow
public static final PathWatchers.Event.Kind Overflow
The watching service overflowed so it may be necessary to poll.
-
-