Class EvaluatedAssignmentTargetImpl
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.lens.assignments.EvaluatedAssignmentTargetImpl
-
- All Implemented Interfaces:
EvaluatedAssignmentTarget
,DebugDumpable
,Serializable
public class EvaluatedAssignmentTargetImpl extends Object implements EvaluatedAssignmentTarget
- Author:
- semancik
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
appliesToFocus()
boolean
appliesToFocusWithAnyRelation(RelationRegistry relationRegistry)
String
debugDump(int indent)
AssignmentType
getAssignment()
An assignment which assigns the given role (useful for knowing e.g.@NotNull AssignmentPathImpl
getAssignmentPath()
Collection<ExclusionPolicyConstraintType>
getExclusions()
Only for legacy exclusions.String
getOid()
@NotNull PrismObject<? extends AssignmentHolderType>
getTarget()
boolean
isDirectlyAssigned()
boolean
isEvaluateConstructions()
True for roles whose constructions are evaluated - i.e.boolean
isValid()
String
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 Detail
-
getTarget
@NotNull public @NotNull PrismObject<? extends AssignmentHolderType> 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
public boolean appliesToFocusWithAnyRelation(RelationRegistry relationRegistry)
- 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
public AssignmentType 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
@NotNull public @NotNull AssignmentPathImpl getAssignmentPath()
- Specified by:
getAssignmentPath
in interfaceEvaluatedAssignmentTarget
-
getOid
public String getOid()
-
isValid
public boolean isValid()
- Specified by:
isValid
in interfaceEvaluatedAssignmentTarget
-
getExclusions
public Collection<ExclusionPolicyConstraintType> getExclusions()
Only for legacy exclusions. Not reliable. Do not use if you can avoid it. It will get deprecated eventually.
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
-