Interface EvaluatedAssignmentTarget
-
- All Superinterfaces:
DebugDumpable
,Serializable
public interface EvaluatedAssignmentTarget extends DebugDumpable, Serializable
- Author:
- semancik
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
appliesToFocus()
boolean
appliesToFocusWithAnyRelation(RelationRegistry relationRegistry)
Returnstrue
if this target applies to focus (by direct assignment or by some inducement).AssignmentType
getAssignment()
An assignment which assigns the given role (useful for knowing e.g.@NotNull AssignmentPath
getAssignmentPath()
@NotNull PrismObject<? extends AssignmentHolderType>
getTarget()
boolean
isDirectlyAssigned()
boolean
isEvaluateConstructions()
True for roles whose constructions are evaluated - i.e.boolean
isValid()
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Method Detail
-
getTarget
@NotNull @NotNull PrismObject<? extends AssignmentHolderType> getTarget()
-
isDirectlyAssigned
boolean isDirectlyAssigned()
-
appliesToFocus
boolean appliesToFocus()
-
appliesToFocusWithAnyRelation
boolean appliesToFocusWithAnyRelation(RelationRegistry relationRegistry)
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
-
isEvaluateConstructions
boolean isEvaluateConstructions()
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).
-
getAssignment
AssignmentType getAssignment()
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)
-
getAssignmentPath
@NotNull @NotNull AssignmentPath getAssignmentPath()
-
isValid
boolean isValid()
-
-