public abstract class WatchmanPathEvent extends Object implements WatchmanEvent
WatchmanEvent.Kind, WatchmanEvent.Type| Constructor and Description |
|---|
WatchmanPathEvent() |
| Modifier and Type | Method and Description |
|---|---|
abstract AbsPath |
getCellPath()
Absolute cell path root being watched.
|
abstract WatchmanEvent.Kind |
getKind()
The kind of event that occurred.
|
abstract RelPath |
getPath()
Relative path of the actual file the event is about.
|
static WatchmanPathEvent |
of(AbsPath cellPath,
WatchmanEvent.Kind kind,
RelPath path) |
public abstract AbsPath getCellPath()
WatchmanEventgetCellPath in interface WatchmanEventpublic abstract WatchmanEvent.Kind getKind()
public abstract RelPath getPath()
getCellPath().public static WatchmanPathEvent of(AbsPath cellPath, WatchmanEvent.Kind kind, RelPath path)