Index

A B C D E F G H I M N O P Q S T U V 
All Classes and Interfaces|All Packages|Serialized Form

A

addMapper(Mapper<?, ?>) - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase
Mappers discovered through ServiceRegistry, or explicitly created that implement both Mapper.sourceType() and Mapper.targetType() methods.
addMapper(Mapper<S, T>, GenericType<S>, GenericType<T>, double, String...) - Method in class io.helidon.common.mapper.MapperManager.Builder
Deprecated.
Add a mapper to the list of mapper with custom priority.
addMapper(Mapper<S, T>, GenericType<S>, GenericType<T>, double, String...) - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase
Add a mapper to the list of mapper with custom priority.
addMapper(Mapper<S, T>, GenericType<S>, GenericType<T>, String...) - Method in class io.helidon.common.mapper.MapperManager.Builder
Deprecated.
Add a mapper to the list of mapper.
addMapper(Mapper<S, T>, GenericType<S>, GenericType<T>, String...) - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase
Add a mapper to the list of mapper.
addMapper(Mapper<S, T>, Class<S>, Class<T>, double, String...) - Method in class io.helidon.common.mapper.MapperManager.Builder
Deprecated.
Add a mapper to the list of mapper with a custom priority.
addMapper(Mapper<S, T>, Class<S>, Class<T>, double, String...) - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase
Add a mapper to the list of mapper with a custom priority.
addMapper(Mapper<S, T>, Class<S>, Class<T>, String...) - Method in class io.helidon.common.mapper.MapperManager.Builder
Deprecated.
Add a mapper to the list of mapper.
addMapper(Mapper<S, T>, Class<S>, Class<T>, String...) - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase
Add a mapper to the list of mapper.
addMapperProvider(MapperProvider) - Method in class io.helidon.common.mapper.MapperManager.Builder
Deprecated.
Add a new MapperProvider to the list of providers loaded from system service loader.
addMapperProvider(MapperProvider) - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase
Mapper providers allow for introduction of new mappers into the system.
addMapperProvider(MapperProvider, int) - Method in class io.helidon.common.mapper.MapperManager.Builder
Deprecated, for removal: This API element is subject to removal in a future version.
we have switched to using weights instead of priority, this method will be removed without replacement
addMapperProviders(List<? extends MapperProvider>) - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase
Mapper providers allow for introduction of new mappers into the system.
addMappers(List<Mapper<?, ?>>) - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase
Mappers discovered through ServiceRegistry, or explicitly created that implement both Mapper.sourceType() and Mapper.targetType() methods.
apply(SOURCE) - Method in interface io.helidon.common.mapper.Mapper
 
as(GenericType<N>) - Method in interface io.helidon.common.mapper.OptionalValue
 
as(GenericType<N>) - Method in interface io.helidon.common.mapper.Value
Convert this value to a different type using a mapper.
as(Class<N>) - Method in interface io.helidon.common.mapper.OptionalValue
 
as(Class<N>) - Method in interface io.helidon.common.mapper.Value
Convert this value to a different type using a mapper.
as(Function<? super T, ? extends N>) - Method in interface io.helidon.common.mapper.OptionalValue
 
as(Function<? super T, ? extends N>) - Method in interface io.helidon.common.mapper.Value
Convert this Value to a different type using a mapper function.
asBoolean() - Method in interface io.helidon.common.mapper.OptionalValue
 
asBoolean() - Method in interface io.helidon.common.mapper.Value
Boolean typed value.
asDouble() - Method in interface io.helidon.common.mapper.OptionalValue
 
asDouble() - Method in interface io.helidon.common.mapper.Value
Double typed value.
asInt() - Method in interface io.helidon.common.mapper.OptionalValue
 
asInt() - Method in interface io.helidon.common.mapper.Value
Integer typed value.
asLong() - Method in interface io.helidon.common.mapper.OptionalValue
 
asLong() - Method in interface io.helidon.common.mapper.Value
Long typed value.
asOptional() - Method in interface io.helidon.common.mapper.Value
Typed value as Optional.
asString() - Method in interface io.helidon.common.mapper.OptionalValue
 
asString() - Method in interface io.helidon.common.mapper.Value
String typed value.

B

build() - Method in class io.helidon.common.mapper.MapperManager.Builder
Deprecated.
 
build() - Method in class io.helidon.common.mapper.MappersConfig.Builder
 
build() - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase.MappersConfigImpl
 
builder() - Static method in interface io.helidon.common.mapper.MapperManager
Deprecated, for removal: This API element is subject to removal in a future version.
use Mappers.builder() instead
builder() - Static method in interface io.helidon.common.mapper.Mappers
Create a new builder to customize configuration of Mappers.
builder() - Static method in interface io.helidon.common.mapper.MappersConfig
Create a new fluent API builder to customize configuration.
builder(MappersConfig) - Static method in interface io.helidon.common.mapper.MappersConfig
Create a new fluent API builder from an existing instance.
BuilderBase() - Constructor for class io.helidon.common.mapper.MappersConfig.BuilderBase
Protected to support extensibility.
buildPrototype() - Method in class io.helidon.common.mapper.MappersConfig.Builder
 

C

COMPATIBLE - Enum constant in enum class io.helidon.common.mapper.spi.MapperProvider.Support
Correct type(s), unexpected qualifier.
create() - Static method in interface io.helidon.common.mapper.MapperManager
Deprecated, for removal: This API element is subject to removal in a future version.
use Mappers.create() instead
create() - Static method in interface io.helidon.common.mapper.Mappers
Create mappers using defaults.
create() - Static method in interface io.helidon.common.mapper.MappersConfig
Create a new instance with default values.
create(MappersConfig) - Static method in interface io.helidon.common.mapper.Mappers
Create new Mappers using the provided configuration.
create(Mappers, String, GenericType<T>, String...) - Static method in interface io.helidon.common.mapper.OptionalValue
Create an empty value.
create(Mappers, String, Class<T>, String...) - Static method in interface io.helidon.common.mapper.OptionalValue
Create an empty value.
create(Mappers, String, T, GenericType<T>, String...) - Static method in interface io.helidon.common.mapper.OptionalValue
Create a value backed by data.
create(Mappers, String, T, GenericType<T>, String...) - Static method in interface io.helidon.common.mapper.Value
Create a value backed by data.
create(Mappers, String, T, String...) - Static method in interface io.helidon.common.mapper.OptionalValue
Create a value backed by data.
create(Mappers, String, T, String...) - Static method in interface io.helidon.common.mapper.Value
Create a value backed by data.
create(Consumer<MappersConfig.Builder>) - Static method in interface io.helidon.common.mapper.Mappers
Create new Mappers customizing its configuration.

D

discoverServices(boolean) - Method in class io.helidon.common.mapper.MapperManager.Builder
Deprecated.
Whether to use ServiceLoader to discover mappers, defaults to true.

E

equals(Object) - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase.MappersConfigImpl
 
equals(Object) - Method in record class io.helidon.common.mapper.spi.MapperProvider.ProviderResponse
Indicates whether some other object is "equal to" this one.

F

filter(Predicate<? super T>) - Method in interface io.helidon.common.mapper.Value
If a value is present, and the value matches the given predicate, return an Optional describing the value, otherwise return an empty Optional.
flatMap(Function<? super T, Optional<? extends U>>) - Method in interface io.helidon.common.mapper.Value
Apply the provided Optional-bearing mapping function to this value, return that result.
from(MappersConfig) - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase
Update this builder from an existing prototype instance.
from(MappersConfig.BuilderBase<?, ?>) - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase
Update this builder from an existing prototype builder instance.

G

get() - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase.MappersConfigImpl
 
get() - Method in interface io.helidon.common.mapper.OptionalValue
Typed value.
get() - Method in interface io.helidon.common.mapper.Value
Typed value.
get(GenericType<N>) - Method in interface io.helidon.common.mapper.Value
Convert this value to a different type using a mapper.
get(Class<N>) - Method in interface io.helidon.common.mapper.Value
Convert this value to a different type using a mapper.
getBoolean() - Method in interface io.helidon.common.mapper.Value
Boolean typed value.
getDouble() - Method in interface io.helidon.common.mapper.Value
Double typed value.
getInt() - Method in interface io.helidon.common.mapper.Value
Integer typed value.
getLong() - Method in interface io.helidon.common.mapper.Value
Long typed value.
getString() - Method in interface io.helidon.common.mapper.Value
String typed value.
global() - Static method in interface io.helidon.common.mapper.MapperManager
Deprecated, for removal: This API element is subject to removal in a future version.
use Services.get(Class) - i.e. Services.get(Mappers.class), or use your registry instance in a similar way
global(MapperManager) - Static method in interface io.helidon.common.mapper.MapperManager
Deprecated, for removal: This API element is subject to removal in a future version.
use Services.set(Class, Object[]) - i.e. Services.get(Mappers.class, myMappers) before the program starts (must be configured before it is first used)

H

hashCode() - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase.MappersConfigImpl
 
hashCode() - Method in record class io.helidon.common.mapper.spi.MapperProvider.ProviderResponse
Returns a hash code value for this object.

I

ifPresent(Consumer<? super T>) - Method in interface io.helidon.common.mapper.OptionalValue
If a value is present, invoke the specified consumer with the value, otherwise do nothing.
ifPresentOrElse(Consumer<T>, Runnable) - Method in interface io.helidon.common.mapper.OptionalValue
If a value is present, performs the given action with the value, otherwise performs the given empty-based action.
io.helidon.common.mapper - module io.helidon.common.mapper
Helidon Common Mapper.
io.helidon.common.mapper - package io.helidon.common.mapper
Support for mapping of types.
io.helidon.common.mapper.spi - package io.helidon.common.mapper.spi
SPI to provide mappers for MapperManager.
isEmpty() - Method in interface io.helidon.common.mapper.OptionalValue
Return false if there is a value present, otherwise true.
isPresent() - Method in interface io.helidon.common.mapper.OptionalValue
Return true if there is a value present, otherwise false.

M

map(Function<? super T, ? extends U>) - Method in interface io.helidon.common.mapper.OptionalValue
If a value is present, apply the provided mapping function to it, and if the result is non-null, return an Optional describing the result.
map(SOURCE) - Method in interface io.helidon.common.mapper.Mapper
Map an instance of source type to an instance of target type.
map(SOURCE, GenericType<SOURCE>, GenericType<TARGET>, String...) - Method in interface io.helidon.common.mapper.MapperManager
Deprecated.
Map from source to target.
map(SOURCE, GenericType<SOURCE>, GenericType<TARGET>, String...) - Method in interface io.helidon.common.mapper.Mappers
Map from source to target.
map(SOURCE, Class<SOURCE>, Class<TARGET>, String...) - Method in interface io.helidon.common.mapper.MapperManager
Deprecated.
Map from source to target.
map(SOURCE, Class<SOURCE>, Class<TARGET>, String...) - Method in interface io.helidon.common.mapper.Mappers
Map from source to target.
mapper() - Method in record class io.helidon.common.mapper.spi.MapperProvider.ProviderResponse
Returns the value of the mapper record component.
mapper(GenericType<?>, GenericType<?>, String) - Method in interface io.helidon.common.mapper.spi.MapperProvider
Find a mapper that is capable of mapping from source to target types.
mapper(GenericType<SOURCE>, GenericType<TARGET>, String...) - Method in interface io.helidon.common.mapper.MapperManager
Deprecated.
Obtain a mapper for the provided types and qualifiers.
mapper(GenericType<SOURCE>, GenericType<TARGET>, String...) - Method in interface io.helidon.common.mapper.Mappers
Obtain a mapper for the provided types and qualifiers.
mapper(Class<?>, Class<?>, String) - Method in interface io.helidon.common.mapper.spi.MapperProvider
Find a mapper that is capable of mapping from source to target classes.
Mapper<SOURCE,TARGET> - Interface in io.helidon.common.mapper
A generic and general approach to mapping two types.
MapperException - Exception Class in io.helidon.common.mapper
An exception that is thrown when mapping failed to map source to target.
MapperException(GenericType<?>, GenericType<?>, String) - Constructor for exception class io.helidon.common.mapper.MapperException
Failed with no underlying exception.
MapperException(GenericType<?>, GenericType<?>, String, Throwable) - Constructor for exception class io.helidon.common.mapper.MapperException
Failed with an underlying exception.
MapperManager - Interface in io.helidon.common.mapper
Deprecated, for removal: This API element is subject to removal in a future version.
use Mappers instead
MapperManager.Builder - Class in io.helidon.common.mapper
Deprecated, for removal: This API element is subject to removal in a future version.
MapperProvider - Interface in io.helidon.common.mapper.spi
Java Service loader service to get mappers.
MapperProvider.ProviderResponse - Record Class in io.helidon.common.mapper.spi
Response of a provider.
MapperProvider.Support - Enum Class in io.helidon.common.mapper.spi
How does this provider support the type.
mapperProviders() - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase
Mapper providers allow for introduction of new mappers into the system.
mapperProviders() - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase.MappersConfigImpl
 
mapperProviders() - Method in interface io.helidon.common.mapper.MappersConfig
Mapper providers allow for introduction of new mappers into the system.
mapperProviders(List<? extends MapperProvider>) - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase
Mapper providers allow for introduction of new mappers into the system.
mapperProvidersDiscoverServices(boolean) - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase
Mapper providers allow for introduction of new mappers into the system.
mappers() - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase
Mappers discovered through ServiceRegistry, or explicitly created that implement both Mapper.sourceType() and Mapper.targetType() methods.
mappers() - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase.MappersConfigImpl
 
mappers() - Method in interface io.helidon.common.mapper.MappersConfig
Mappers discovered through ServiceRegistry, or explicitly created that implement both Mapper.sourceType() and Mapper.targetType() methods.
mappers(List<Mapper<?, ?>>) - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase
Mappers discovered through ServiceRegistry, or explicitly created that implement both Mapper.sourceType() and Mapper.targetType() methods.
Mappers - Interface in io.helidon.common.mapper
Mappers manager of all configured mappers.
MappersConfig - Interface in io.helidon.common.mapper
Mappers configuration.
MappersConfig.Builder - Class in io.helidon.common.mapper
Fluent API builder for Mappers.
MappersConfig.BuilderBase<BUILDER,PROTOTYPE> - Class in io.helidon.common.mapper
Fluent API builder base for Mappers.
MappersConfig.BuilderBase.MappersConfigImpl - Class in io.helidon.common.mapper
Generated implementation of the prototype, can be extended by descendant prototype implementations.
MappersConfigImpl(MappersConfig.BuilderBase<?, ?>) - Constructor for class io.helidon.common.mapper.MappersConfig.BuilderBase.MappersConfigImpl
Create an instance providing a builder.
mappersDiscoverServices(boolean) - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase
Mappers discovered through ServiceRegistry, or explicitly created that implement both Mapper.sourceType() and Mapper.targetType() methods.

N

name() - Method in interface io.helidon.common.mapper.Value
Name of this value, to potentially troubleshoot the source of it.

O

OptionalValue<T> - Interface in io.helidon.common.mapper
A typed value with support for mapping (conversion) to other types.
or(Supplier<? extends Optional<T>>) - Method in interface io.helidon.common.mapper.OptionalValue
If the underlying Optional does not have a value, set it to the Optional produced by the supplying function.
orElse(T) - Method in interface io.helidon.common.mapper.OptionalValue
Return the value if present, otherwise return other.
orElseGet(Supplier<? extends T>) - Method in interface io.helidon.common.mapper.OptionalValue
Return the value if present, otherwise invoke other and return the result of that invocation.
orElseThrow() - Method in interface io.helidon.common.mapper.OptionalValue
If a value is present, returns the value, otherwise throws NoSuchElementException.
orElseThrow(Supplier<? extends X>) - Method in interface io.helidon.common.mapper.OptionalValue
Return the contained value, if present, otherwise throw an exception to be created by the provided supplier.

P

preBuildPrototype() - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase
Handles providers and decorators.
ProviderResponse(MapperProvider.Support, Mapper<?, ?>) - Constructor for record class io.helidon.common.mapper.spi.MapperProvider.ProviderResponse
Creates an instance of a ProviderResponse record class.

Q

qualifiers() - Method in interface io.helidon.common.mapper.Mapper
Qualifiers of the mapper.

S

serviceRegistry(ServiceRegistry) - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase
Provide an explicit registry instance to use.
sourceType() - Method in interface io.helidon.common.mapper.Mapper
Source type of the mapper.
stream() - Method in interface io.helidon.common.mapper.Value
If a value is present, returns a sequential Stream containing only that value, otherwise returns an empty Stream.
support() - Method in record class io.helidon.common.mapper.spi.MapperProvider.ProviderResponse
Returns the value of the support record component.
SUPPORTED - Enum constant in enum class io.helidon.common.mapper.spi.MapperProvider.Support
Correct type(s) and expected qualifier.

T

targetType() - Method in interface io.helidon.common.mapper.Mapper
Target type of the mapper.
toString() - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase.MappersConfigImpl
 
toString() - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase
 
toString() - Method in record class io.helidon.common.mapper.spi.MapperProvider.ProviderResponse
Returns a string representation of this record class.

U

unsupported() - Static method in record class io.helidon.common.mapper.spi.MapperProvider.ProviderResponse
Unsupported provider response.
UNSUPPORTED - Enum constant in enum class io.helidon.common.mapper.spi.MapperProvider.Support
Incorrect type(s).
useBuiltIn(boolean) - Method in class io.helidon.common.mapper.MapperManager.Builder
Deprecated.
Whether to use built-in mappers.
useBuiltInMappers() - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase.MappersConfigImpl
 
useBuiltInMappers() - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase
Whether to use built-in mappers.
useBuiltInMappers() - Method in interface io.helidon.common.mapper.MappersConfig
Whether to use built-in mappers.
useBuiltInMappers(boolean) - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase
Whether to use built-in mappers.

V

validatePrototype() - Method in class io.helidon.common.mapper.MappersConfig.BuilderBase
Validates required properties.
Value<T> - Interface in io.helidon.common.mapper
A typed value with support for mapping (conversion) to other types.
valueOf(String) - Static method in enum class io.helidon.common.mapper.spi.MapperProvider.Support
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.helidon.common.mapper.spi.MapperProvider.Support
Returns an array containing the constants of this enum class, in the order they are declared.
A B C D E F G H I M N O P Q S T U V 
All Classes and Interfaces|All Packages|Serialized Form