Package | Description |
---|---|
org.apache.deltaspike.core.api.config |
Modifier and Type | Interface and Description |
---|---|
static interface |
ConfigResolver.UntypedResolver<T>
A builder-based optionally typed resolution mechanism for configuration values.
|
Modifier and Type | Method and Description |
---|---|
<N> ConfigResolver.TypedResolver<N> |
ConfigResolver.UntypedResolver.as(Class<N> clazz)
Sets the type of the configuration entry to the given class and returns this builder as a TypedResolver.
|
<N> ConfigResolver.TypedResolver<N> |
ConfigResolver.UntypedResolver.as(Class<N> clazz,
ConfigResolver.Converter<N> converter)
Sets the type of the configuration entry to the given class, sets the converter to the one given and
returns this builder as a TypedResolver.
|
ConfigResolver.TypedResolver<T> |
ConfigResolver.TypedResolver.cacheFor(TimeUnit timeUnit,
long value)
Specify that a resolved value will get cached for a certain amount of time.
|
ConfigResolver.TypedResolver<T> |
ConfigResolver.TypedResolver.evaluateVariables(boolean evaluateVariables)
Whether to evaluate variables in configured values.
|
ConfigResolver.TypedResolver<T> |
ConfigResolver.TypedResolver.logChanges(boolean logChanges)
Whether to log picking up any value changes as INFO.
|
ConfigResolver.TypedResolver<T> |
ConfigResolver.TypedResolver.parameterizedBy(String propertyName)
Appends the resolved value of the given property to the key of this builder.
|
ConfigResolver.TypedResolver<T> |
ConfigResolver.TypedResolver.strictly(boolean strictly)
Indicates whether the fallback resolution sequence should be performed, as described in
ConfigResolver.getPropertyAwarePropertyValue(String, String) . |
ConfigResolver.TypedResolver<T> |
ConfigResolver.TypedResolver.withCurrentProjectStage(boolean with)
Indicates whether to append the name of the current project stage to the key of this builder.
|
ConfigResolver.TypedResolver<T> |
ConfigResolver.TypedResolver.withDefault(T value)
Sets the default value to use in case the resolution returns null.
|
ConfigResolver.TypedResolver<T> |
ConfigResolver.TypedResolver.withStringDefault(String value)
Sets the default value to use in case the resolution returns null.
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.