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 usuallyConstructionTargetKey
orPersonaKey
.- Author:
- Radovan Semancik
-
-
Constructor Summary
Constructors Constructor Description ConstructionCollector(Function<EvaluatedAssignmentImpl<AH>,DeltaSetTriple<AC>> constructionTripleExtractor, FailableLensFunction<EC,K> keyGenerator, PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
collect(DeltaSetTriple<EvaluatedAssignmentImpl<AH>> evaluatedAssignmentTriple)
DeltaMapTriple<K,EvaluatedConstructionPack<EC>>
getEvaluatedConstructionMapTriple()
-
-
-
Constructor Detail
-
ConstructionCollector
public ConstructionCollector(Function<EvaluatedAssignmentImpl<AH>,DeltaSetTriple<AC>> constructionTripleExtractor, FailableLensFunction<EC,K> keyGenerator, PrismContext prismContext)
-
-
Method Detail
-
getEvaluatedConstructionMapTriple
public DeltaMapTriple<K,EvaluatedConstructionPack<EC>> getEvaluatedConstructionMapTriple()
-
collect
public void collect(DeltaSetTriple<EvaluatedAssignmentImpl<AH>> evaluatedAssignmentTriple) throws ObjectNotFoundException, SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException
-
-