Serializable
, Comparable<Config.HotReloadType>
public static enum Config.HotReloadType extends Enum<Config.HotReloadType>
Enum Constant | Description |
---|---|
ASYNC |
The hot reload will happen in background at the specified interval.
|
SYNC |
The hot reload will happen when one of the methods is invoked on the
Config class. |
Modifier and Type | Method | Description |
---|---|---|
static Config.HotReloadType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Config.HotReloadType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Config.HotReloadType SYNC
Config
class.public static final Config.HotReloadType ASYNC
public static Config.HotReloadType[] values()
for (Config.HotReloadType c : Config.HotReloadType.values()) System.out.println(c);
public static Config.HotReloadType 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 © 2012–2020 Luigi R. Viggiano. All rights reserved.