public static enum ResourceWatcherService.Frequency extends 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(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(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 © 2009–2017. All rights reserved.