| Modifier and Type | Field and Description |
|---|---|
static Watch.Event |
Watch.CREATED
The
CREATED constant (provided for convenience). |
static Watch.Event |
Watch.DELETED
The
DELETED constant (provided for convenience). |
static Watch.Event |
Watch.MODIFIED
The
MODIFIED constant (provided for convenience). |
| Modifier and Type | Method and Description |
|---|---|
static Watch.Event |
Watch.Event.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Watch.Event[] |
Watch.Event.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Watch.Option |
Watch.watchDirectory(Directory directory,
Watch.Listener listener,
Watch.Event event)
Returns a new configuration option to watch the specified directory with
the specified listener for the specified event.
|
void |
Watch.ServiceBuilder.watchDirectory(Directory directory,
Watch.Listener listener,
Watch.Event event)
Instructs this watch service to watch the specified directory with the
specified listener for the specified event.
|
Copyright © 2021–2022 Objectos Software LTDA. All rights reserved.