public class EntityInitializers
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
EntityInitializers.AddTags |
| Constructor and Description |
|---|
EntityInitializers() |
| Modifier and Type | Method and Description |
|---|---|
static EntityInitializer |
addingTags(java.lang.Object... tags) |
static <T> T |
resolve(ConfigBag configBag,
ConfigKey<T> key)
Resolves key in the
current execution context. |
static <T> T |
resolve(ConfigBag configBag,
ConfigKey<T> key,
ExecutionContext executionContext)
Gets the value for key from configBag.
|
public static EntityInitializer addingTags(java.lang.Object... tags)
public static <T> T resolve(ConfigBag configBag, ConfigKey<T> key)
current execution context.public static <T> T resolve(ConfigBag configBag, ConfigKey<T> key, ExecutionContext executionContext)
If key is an instance of ConfigKeySelfExtracting and executionContext is
not null then its value will be retrieved per the key's implementation of
extractValue. Otherwise, the value
will be retrieved from configBag directly.