Class EvaluatedAssignmentTargetImpl
java.lang.Object
com.evolveum.midpoint.model.impl.lens.assignments.EvaluatedAssignmentTargetImpl
- All Implemented Interfaces:
- EvaluatedAssignmentTarget,- DebugDumpable,- Serializable
- Author:
- semancik
- See Also:
- 
Field SummaryFields inherited from interface com.evolveum.midpoint.util.DebugDumpableINDENT_STRING
- 
Method SummaryModifier 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.@NotNull AssignmentPathImplOnly for legacy exclusions.getOid()@NotNull PrismObject<? extends AssignmentHolderType>booleanbooleanTrue for roles whose constructions are evaluated - i.e.booleanisValid()toString()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpabledebugDump, debugDumpLazily, debugDumpLazily
- 
Method Details- 
getTarget- Specified by:
- getTargetin interface- EvaluatedAssignmentTarget
 
- 
isDirectlyAssignedpublic boolean isDirectlyAssigned()- Specified by:
- isDirectlyAssignedin interface- EvaluatedAssignmentTarget
 
- 
appliesToFocuspublic boolean appliesToFocus()- Specified by:
- appliesToFocusin interface- EvaluatedAssignmentTarget
 
- 
appliesToFocusWithAnyRelationDescription 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 interface- EvaluatedAssignmentTarget
 
- 
isEvaluateConstructionspublic 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 interface- EvaluatedAssignmentTarget
 
- 
getAssignmentDescription 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 interface- EvaluatedAssignmentTarget
 
- 
getAssignmentPath- Specified by:
- getAssignmentPathin interface- EvaluatedAssignmentTarget
 
- 
getOid
- 
isValidpublic boolean isValid()- Specified by:
- isValidin interface- EvaluatedAssignmentTarget
 
- 
getExclusionsOnly for legacy exclusions. Not reliable. Do not use if you can avoid it. It will get deprecated eventually.
- 
debugDump- Specified by:
- debugDumpin interface- DebugDumpable
 
- 
toString
 
-