Class AssignedFocusMappingEvaluationRequest
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.lens.projector.mappings.FocalMappingEvaluationRequest<MappingType,ObjectType>
-
- com.evolveum.midpoint.model.impl.lens.projector.mappings.AssignedFocusMappingEvaluationRequest
-
- All Implemented Interfaces:
ShortDumpable
public class AssignedFocusMappingEvaluationRequest extends FocalMappingEvaluationRequest<MappingType,ObjectType>
Request to evaluate a mapping held by an assignment (in focusMappings container). TODO reconsider the OO (origin object) parameter. It could be AssignmentHolderType, but this would need additional class cast check in AssignmentEvaluator. If not strictly needed, let's stay with neutral ObjectType for now.
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.model.impl.lens.projector.mappings.FocalMappingEvaluationRequest
mapping, mappingKind, originObject
-
-
Constructor Summary
Constructors Constructor Description AssignedFocusMappingEvaluationRequest(@NotNull MappingType mapping, @NotNull ObjectType originObject, @NotNull EvaluatedAssignmentImpl<?> evaluatedAssignment, @NotNull PlusMinusZero relativeMode, @NotNull AssignmentPathVariables assignmentPathVariables, String sourceDescription)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull AssignmentPathVariables
getAssignmentPathVariables()
@NotNull EvaluatedAssignmentImpl<?>
getEvaluatedAssignment()
ObjectTemplateMappingEvaluationPhaseType
getEvaluationPhase()
@NotNull PlusMinusZero
getRelativeMode()
String
getSourceDescription()
void
shortDump(StringBuilder sb)
Show the content of the object intended for diagnostics.-
Methods inherited from class com.evolveum.midpoint.model.impl.lens.projector.mappings.FocalMappingEvaluationRequest
constructDefaultSource, getMapping, getMappingKind, getMappingPreExpression, getOriginObject
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDumpLazily
-
-
-
-
Constructor Detail
-
AssignedFocusMappingEvaluationRequest
public AssignedFocusMappingEvaluationRequest(@NotNull @NotNull MappingType mapping, @NotNull @NotNull ObjectType originObject, @NotNull @NotNull EvaluatedAssignmentImpl<?> evaluatedAssignment, @NotNull @NotNull PlusMinusZero relativeMode, @NotNull @NotNull AssignmentPathVariables assignmentPathVariables, String sourceDescription)
-
-
Method Detail
-
getEvaluatedAssignment
@NotNull public @NotNull EvaluatedAssignmentImpl<?> getEvaluatedAssignment()
-
getRelativeMode
@NotNull public @NotNull PlusMinusZero getRelativeMode()
-
getAssignmentPathVariables
@NotNull public @NotNull AssignmentPathVariables getAssignmentPathVariables()
- Overrides:
getAssignmentPathVariables
in classFocalMappingEvaluationRequest<MappingType,ObjectType>
-
getSourceDescription
public String getSourceDescription()
-
getEvaluationPhase
public ObjectTemplateMappingEvaluationPhaseType getEvaluationPhase()
- Specified by:
getEvaluationPhase
in classFocalMappingEvaluationRequest<MappingType,ObjectType>
- Returns:
- The phase this mapping should be evaluated in. If null, the mapping will be skipped if explicit evaluation phase is requested.
-
shortDump
public void shortDump(StringBuilder sb)
Description copied from interface:ShortDumpable
Show the content of the object intended for diagnostics. This method is supposed to append a compact, human-readable output in a single line. Unlike toString() method, there is no requirement to identify the actual class or type of the object. It is assumed that the class/type will be obvious from the context in which the output is used.- Parameters:
sb
- StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.
-
-