@Singleton public class ChainedAttributeDetector extends Object implements AttributeDetector<org.apache.directory.api.ldap.model.entry.Entry>
| Constructor and Description |
|---|
ChainedAttributeDetector(Set<AttributeDetector> detectors) |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(org.apache.directory.api.ldap.model.entry.Entry entry)
Collects potential attribute names or values from a set of result entries.
|
Map<String,String> |
detect()
Implements the decision based on which the "best" possible attribute or value is selected.
|
String |
toString() |
@Inject public ChainedAttributeDetector(Set<AttributeDetector> detectors)
public void collect(org.apache.directory.api.ldap.model.entry.Entry entry)
AttributeDetectorcollect in interface AttributeDetector<org.apache.directory.api.ldap.model.entry.Entry>entry - a result entry returned by a search operationpublic Map<String,String> detect()
AttributeDetectordetect in interface AttributeDetector<org.apache.directory.api.ldap.model.entry.Entry>Copyright © 2022 Apache Software Foundation. All rights reserved.