public static enum CommonConfiguration.InstantiationMode extends Enum<CommonConfiguration.InstantiationMode>
| Enum Constant and Description |
|---|
EARLY
Collection is initialized as property initializer (created when class is constructed).
|
LAZY
Collection is initialized in getter (created when property is accessed the first time).
|
NONE
Collection is never initialized.
|
| Modifier and Type | Method and Description |
|---|---|
static CommonConfiguration.InstantiationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommonConfiguration.InstantiationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommonConfiguration.InstantiationMode EARLY
public static final CommonConfiguration.InstantiationMode LAZY
public static final CommonConfiguration.InstantiationMode NONE
public static CommonConfiguration.InstantiationMode[] values()
for (CommonConfiguration.InstantiationMode c : CommonConfiguration.InstantiationMode.values()) System.out.println(c);
public static CommonConfiguration.InstantiationMode 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 © 2022–2023. All rights reserved.