public static enum WatchmanGlobber.Option extends Enum<WatchmanGlobber.Option>
| Enum Constant and Description |
|---|
EXCLUDE_DIRECTORIES
Do not return directories which match include patterns.
|
EXCLUDE_SYMLINKS
Do not return symbolic links which match include patterns.
|
FORCE_CASE_SENSITIVE
Match path components exactly, even on case-insensitive file systems.
|
| Modifier and Type | Method and Description |
|---|---|
static WatchmanGlobber.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WatchmanGlobber.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WatchmanGlobber.Option EXCLUDE_DIRECTORIES
Symlinks referring to directories are still returned unless EXCLUDE_SYMLINKS is also specified.
This option corresponds to a type expression
which excludes directories.
public static final WatchmanGlobber.Option EXCLUDE_SYMLINKS
Without this option, symbolic links are returned, regardless of their target.
This option corresponds to a type expression
which excludes symbolic links.
public static final WatchmanGlobber.Option FORCE_CASE_SENSITIVE
By default, whether or not patterns ignore case depends on Watchman's default behavior.
This option affects both include patterns and exclude patterns.
This option corresponds to the query's case_sensitive option to true.
public static WatchmanGlobber.Option[] values()
for (WatchmanGlobber.Option c : WatchmanGlobber.Option.values()) System.out.println(c);
public static WatchmanGlobber.Option valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null