public enum DataFetchStrategy extends Enum<DataFetchStrategy>
ConfigurationContainer.ConfigurationContainer| Enum Constant and Description |
|---|
LENIENT
Retrieves sorted data from all
Configuration objects
regardless of their namespaces when no namespace specified during data
fetch. |
LENIENT_UNSORTED
Retrieves unsorted data from all
Configuration objects
regardless of their namespaces when no namespace specified during data
fetch. |
STRICT
Retrieves sorted data from
Configuration objects declared
with a specific namespace. |
STRICT_UNSORTED
Retrieves unsorted data from
Configuration objects declared
with a specific namespace. |
| Modifier and Type | Method and Description |
|---|---|
static DataFetchStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataFetchStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataFetchStrategy STRICT
Configuration objects declared
with a specific namespace.
If no namespace is specified during data fetch, only Configuration
objects without a namespace defined will be searched.
public static final DataFetchStrategy STRICT_UNSORTED
Configuration objects declared
with a specific namespace.
If no namespace is specified during data fetch, only Configuration
objects without a namespace defined will be searched.
public static final DataFetchStrategy LENIENT
Configuration objects
regardless of their namespaces when no namespace specified during data
fetch.public static final DataFetchStrategy LENIENT_UNSORTED
Configuration objects
regardless of their namespaces when no namespace specified during data
fetch.public static DataFetchStrategy[] values()
for (DataFetchStrategy c : DataFetchStrategy.values()) System.out.println(c);
public static DataFetchStrategy 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. All rights reserved.