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 TypeMethodDescriptionboolean
boolean
appliesToFocusWithAnyRelation
(RelationRegistry relationRegistry) Returnstrue
if 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.@NotNull AssignmentPathImpl
Only for legacy exclusions.getOid()
@NotNull PrismObject<? extends AssignmentHolderType>
boolean
boolean
True for roles whose constructions are evaluated - i.e.boolean
isValid()
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Method Details
-
getTarget
- Specified by:
getTarget
in interfaceEvaluatedAssignmentTarget
-
isDirectlyAssigned
public boolean isDirectlyAssigned()- Specified by:
isDirectlyAssigned
in interfaceEvaluatedAssignmentTarget
-
appliesToFocus
public boolean appliesToFocus()- Specified by:
appliesToFocus
in interfaceEvaluatedAssignmentTarget
-
appliesToFocusWithAnyRelation
Description copied from interface:EvaluatedAssignmentTarget
Returnstrue
if 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 ofroleMembershipRef
plusdelegationRef
- Specified by:
appliesToFocusWithAnyRelation
in interfaceEvaluatedAssignmentTarget
-
isEvaluateConstructions
public boolean isEvaluateConstructions()Description copied from interface:EvaluatedAssignmentTarget
True 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:
isEvaluateConstructions
in interfaceEvaluatedAssignmentTarget
-
getAssignment
Description copied from interface:EvaluatedAssignmentTarget
An 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:
getAssignment
in interfaceEvaluatedAssignmentTarget
-
getAssignmentPath
- Specified by:
getAssignmentPath
in interfaceEvaluatedAssignmentTarget
-
getOid
-
isValid
public boolean isValid()- Specified by:
isValid
in interfaceEvaluatedAssignmentTarget
-
getExclusions
Only for legacy exclusions. Not reliable. Do not use if you can avoid it. It will get deprecated eventually. -
debugDump
- Specified by:
debugDump
in interfaceDebugDumpable
-
toString
-