Class AttributesConvertibleValues
- java.lang.Object
-
- io.micronaut.configuration.security.ldap.context.AttributesConvertibleValues
-
- All Implemented Interfaces:
io.micronaut.core.convert.value.ConvertibleValues<java.lang.Object>
,io.micronaut.core.value.ValueResolver<java.lang.CharSequence>
,java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.lang.Object>>
public class AttributesConvertibleValues extends java.lang.Object implements io.micronaut.core.convert.value.ConvertibleValues<java.lang.Object>
AConvertibleValues
implementation that usesAttributes
as the backing data source.- Since:
- 1.0
- Author:
- James Kleeh
-
-
Constructor Summary
Constructors Constructor Description AttributesConvertibleValues(javax.naming.directory.Attributes attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> java.util.Optional<T>
get(java.lang.CharSequence name, io.micronaut.core.convert.ArgumentConversionContext<T> conversionContext)
java.util.Set<java.lang.String>
names()
java.util.Collection<java.lang.Object>
values()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
names
public java.util.Set<java.lang.String> names()
- Specified by:
names
in interfaceio.micronaut.core.convert.value.ConvertibleValues<java.lang.Object>
-
values
public java.util.Collection<java.lang.Object> values()
- Specified by:
values
in interfaceio.micronaut.core.convert.value.ConvertibleValues<java.lang.Object>
-
get
public <T> java.util.Optional<T> get(java.lang.CharSequence name, io.micronaut.core.convert.ArgumentConversionContext<T> conversionContext)
- Specified by:
get
in interfaceio.micronaut.core.value.ValueResolver<java.lang.CharSequence>
-
-