java.lang.Object
io.helidon.builder.config.spi.ResolutionContext
Config resolution process context.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor for this type that takes a builder. -
Method Summary
Modifier and TypeMethodDescriptionstatic ResolutionContext.Builderbuilder()Creates a new fluent builder for this type.config()Return the config.Class<?>Return the config bean type.static ResolutionContextcreate(Class<?> configBeanType, Config cfg, ConfigResolver resolver, ConfigBeanBuilderValidator<?> validator, Map<Class<?>, Function<Config, ?>> mappers) Creates a resolution context from the provided arguments.mappers()Return the known config bean mappers associated with this config bean context.resolver()Return the config resolver.toString()Return the config bean builder validator.
-
Constructor Details
-
ResolutionContext
Constructor for this type that takes a builder.- Parameters:
b- the builder
-
-
Method Details
-
configBeanType
Return the config bean type.- Returns:
- the config bean type
-
config
Return the config.- Returns:
- the config
-
resolver
Return the config resolver.- Returns:
- the resolver
-
validator
Return the config bean builder validator.- Returns:
- the validator
-
mappers
Return the known config bean mappers associated with this config bean context.- Returns:
- the config bean mappers
-
toString
-
builder
Creates a new fluent builder for this type.- Returns:
- a fluent builder
-
create
public static ResolutionContext create(Class<?> configBeanType, Config cfg, ConfigResolver resolver, ConfigBeanBuilderValidator<?> validator, Map<Class<?>, Function<Config, ?>> mappers) Creates a resolution context from the provided arguments.- Parameters:
configBeanType- the config bean typecfg- the configresolver- the resolvervalidator- the bean builder validatormappers- the known config bean mappers related to this config bean context- Returns:
- the resolution context
-