Class EvaluatedAssignmentTargetImpl
java.lang.Object
com.evolveum.midpoint.model.impl.lens.assignments.EvaluatedAssignmentTargetImpl
- All Implemented Interfaces:
EvaluatedAssignmentTarget,DebugDumpable,Serializable
- Author:
- semancik
- See Also:
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanappliesToFocusWithAnyRelation(RelationRegistry relationRegistry) Returnstrueif this target applies to focus (by direct assignment or by some inducement).debugDump(int indent) An assignment which assigns the given role (useful for knowing e.g. tenantRef or orgRef).@NotNull AssignmentPathImplOnly for legacy exclusions.getOid()@NotNull PrismObject<? extends AssignmentHolderType>booleanbooleanTrue for roles whose constructions are evaluated - i.e. those roles that are considered to be applied to the focal object (e.g. to the user).booleanisValid()toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Method Details
-
getTarget
- Specified by:
getTargetin interfaceEvaluatedAssignmentTarget
-
isDirectlyAssigned
public boolean isDirectlyAssigned()- Specified by:
isDirectlyAssignedin interfaceEvaluatedAssignmentTarget
-
appliesToFocus
public boolean appliesToFocus()- Specified by:
appliesToFocusin interfaceEvaluatedAssignmentTarget
-
appliesToFocusWithAnyRelation
Description copied from interface:EvaluatedAssignmentTargetReturnstrueif this target applies to focus (by direct assignment or by some inducement). For the first non-delegation assignment path segment accepts all relations. The result is similar to those ofroleMembershipRefplusdelegationRef- Specified by:
appliesToFocusWithAnyRelationin interfaceEvaluatedAssignmentTarget
-
isEvaluateConstructions
public boolean isEvaluateConstructions()Description copied from interface:EvaluatedAssignmentTargetTrue for roles whose constructions are evaluated - i.e. those roles that are considered to be applied to the focal object (e.g. to the user).- Specified by:
isEvaluateConstructionsin interfaceEvaluatedAssignmentTarget
-
getAssignment
Description copied from interface:EvaluatedAssignmentTargetAn assignment which assigns the given role (useful for knowing e.g. tenantRef or orgRef). TODO consider providing here also the "magic assignment" (https://docs.evolveum.com/midpoint/reference/roles-policies/assignment/configuration/#construction-variables)- Specified by:
getAssignmentin interfaceEvaluatedAssignmentTarget
-
getAssignmentPath
- Specified by:
getAssignmentPathin interfaceEvaluatedAssignmentTarget
-
getOid
-
isValid
public boolean isValid()- Specified by:
isValidin interfaceEvaluatedAssignmentTarget
-
getExclusions
Only for legacy exclusions. Not reliable. Do not use if you can avoid it. It will get deprecated eventually. -
debugDump
- Specified by:
debugDumpin interfaceDebugDumpable
-
toString
-