Package org.ldaptive.ext
Class MergeRequest.MaxSizeAttributeValueHandler
- java.lang.Object
-
- org.ldaptive.ext.MergeRequest.MaxSizeAttributeValueHandler
-
- All Implemented Interfaces:
Function<List<List<AttributeModification>>,List<List<AttributeModification>>>
,MergeRequest.AttributeModificationsHandler
- Enclosing class:
- MergeRequest
public static class MergeRequest.MaxSizeAttributeValueHandler extends Object implements MergeRequest.AttributeModificationsHandler
Processes attribute modifications to enforce the maximum number of attribute values in any single attribute. For attribute values that exceed this limit, a new attribute is created to contain the excess values.
-
-
Field Summary
Fields Modifier and Type Field Description private int
maxSize
Maximum number of attribute values allowed in a single attribute.
-
Constructor Summary
Constructors Constructor Description MaxSizeAttributeValueHandler(int size)
Creates a new max attribute value size processor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<List<AttributeModification>>
apply(List<List<AttributeModification>> modifications)
-
-
-
Method Detail
-
apply
public List<List<AttributeModification>> apply(List<List<AttributeModification>> modifications)
- Specified by:
apply
in interfaceFunction<List<List<AttributeModification>>,List<List<AttributeModification>>>
-
-