Interface EvaluatedAssignmentTarget
- 
- All Superinterfaces:
 DebugDumpable,Serializable
- All Known Implementing Classes:
 EvaluatedAssignmentTargetImpl
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 booleanappliesToFocus()booleanappliesToFocusWithAnyRelation(RelationRegistry relationRegistry)Returnstrueif this target applies to focus (by direct assignment or by some inducement).AssignmentTypegetAssignment()An assignment which assigns the given role (useful for knowing e.g.@NotNull AssignmentPathgetAssignmentPath()@NotNull PrismObject<? extends AssignmentHolderType>getTarget()booleanisDirectlyAssigned()booleanisEvaluateConstructions()True for roles whose constructions are evaluated - i.e.booleanisValid()- 
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)
Returnstrueif 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 
- 
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()
 
 - 
 
 -