Class ConstructionCollector<AH extends AssignmentHolderType,K extends HumanReadableDescribable,ACT extends AbstractConstructionType,AC extends AbstractConstruction<AH,ACT,EC>,EC extends EvaluatedAbstractConstruction<AH>>
java.lang.Object
com.evolveum.midpoint.model.impl.lens.construction.ConstructionCollector<AH,K,ACT,AC,EC>
- Type Parameters:
K
- Key type
public class ConstructionCollector<AH extends AssignmentHolderType,K extends HumanReadableDescribable,ACT extends AbstractConstructionType,AC extends AbstractConstruction<AH,ACT,EC>,EC extends EvaluatedAbstractConstruction<AH>>
extends Object
Collects evaluated constructions from evaluatedAssignmentTriple into a single-level triple.
The collected evaluated constructions are neatly sorted by "key", which is usually
ConstructionTargetKey
or PersonaKey
.- Author:
- Radovan Semancik
-
Constructor Summary
ConstructorDescriptionConstructionCollector
(Function<EvaluatedAssignmentImpl<AH>, DeltaSetTriple<AC>> constructionTripleExtractor, FailableLensFunction<EC, K> keyGenerator, PrismContext prismContext) -
Method Summary
Modifier and TypeMethodDescriptionvoid
collect
(DeltaSetTriple<EvaluatedAssignmentImpl<AH>> evaluatedAssignmentTriple)
-
Constructor Details
-
ConstructionCollector
public ConstructionCollector(Function<EvaluatedAssignmentImpl<AH>, DeltaSetTriple<AC>> constructionTripleExtractor, FailableLensFunction<EC, K> keyGenerator, PrismContext prismContext)
-
-
Method Details
-
getEvaluatedConstructionMapTriple
-
collect
public void collect(DeltaSetTriple<EvaluatedAssignmentImpl<AH>> evaluatedAssignmentTriple) throws ObjectNotFoundException, SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException
-