public static enum FileChangeWatcher.State extends Enum<FileChangeWatcher.State>
Enum Constant and Description |
---|
NEW |
RUNNING |
STARTING |
STOPPED |
STOPPING |
Modifier and Type | Method and Description |
---|---|
static FileChangeWatcher.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileChangeWatcher.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileChangeWatcher.State NEW
public static final FileChangeWatcher.State STARTING
public static final FileChangeWatcher.State RUNNING
public static final FileChangeWatcher.State STOPPING
public static final FileChangeWatcher.State STOPPED
public static FileChangeWatcher.State[] values()
for (FileChangeWatcher.State c : FileChangeWatcher.State.values()) System.out.println(c);
public static FileChangeWatcher.State 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 nullCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.