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.Object
An 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.Kind
Create
A new file was created.static PathWatchers.Event.Kind
Delete
The file was deleted.static PathWatchers.Event.Kind
Error
An error occurred processing the event.static PathWatchers.Event.Kind
Modify
An existing file was modified.static PathWatchers.Event.Kind
Overflow
The watching service overflowed so it may be necessary to poll.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
java.lang.String
toString()
-
-
-
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.
-
-