public static enum ResourceWatcherService.Frequency extends java.lang.Enum<ResourceWatcherService.Frequency>
| Enum Constant and Description |
|---|
HIGH
Defaults to 5 seconds
|
LOW
Defaults to 60 seconds
|
MEDIUM
Defaults to 30 seconds
|
| Modifier and Type | Method and Description |
|---|---|
static ResourceWatcherService.Frequency |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResourceWatcherService.Frequency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceWatcherService.Frequency HIGH
public static final ResourceWatcherService.Frequency MEDIUM
public static final ResourceWatcherService.Frequency LOW
public static ResourceWatcherService.Frequency[] values()
for (ResourceWatcherService.Frequency c : ResourceWatcherService.Frequency.values()) System.out.println(c);
public static ResourceWatcherService.Frequency valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null