WatchEvent.Modifier (Java SE 14 & JDK 14)
Description: declaration: module: java.base, package: java.nio.file, interface: WatchEvent, interface: Modifier
Keywords: java.nio.file.WatchEvent.Modifier interface

Module java.base
Package java.nio.file

# Interface WatchEvent.Modifier

Enclosing interface:
  WatchEvent<T>

    public static interface WatchEvent.Modifier

An event modifier that qualifies how a `Watchable` is registered with a `WatchService`.

This release does not define any standard modifiers.

Since:
  1.7
See Also:
  `Watchable.register(java.nio.file.WatchService, java.nio.file.WatchEvent.Kind<?>[], java.nio.file.WatchEvent.Modifier...)`

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `String` | `name()` | Returns the name of the modifier.

- ## Method Details

  - ### name

    String name()
    Returns the name of the modifier.
    Returns:
      the name of the modifier