Record Class MapperProvider.ProviderResponse
java.lang.Object
java.lang.Record
io.helidon.common.mapper.spi.MapperProvider.ProviderResponse
- Record Components:
support- how is this supportedmapper- mapper to map the type, or null if support isMapperProvider.Support.UNSUPPORTED
- Enclosing interface:
MapperProvider
public static record MapperProvider.ProviderResponse(MapperProvider.Support support, Mapper<?,?> mapper)
extends Record
Response of a provider.
-
Constructor Summary
ConstructorsConstructorDescriptionProviderResponse(MapperProvider.Support support, Mapper<?, ?> mapper) Creates an instance of aProviderResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Mapper<?, ?> mapper()Returns the value of themapperrecord component.support()Returns the value of thesupportrecord component.final StringtoString()Returns a string representation of this record class.Unsupported provider response.
-
Constructor Details
-
Method Details
-
unsupported
Unsupported provider response.- Returns:
- constant - unsupported response
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
support
-
mapper
-