Class EvaluatedAssignmentTargetImpl
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.lens.EvaluatedAssignmentTargetImpl
-
- All Implemented Interfaces:
EvaluatedAssignmentTarget
,DebugDumpable
public class EvaluatedAssignmentTargetImpl extends Object implements EvaluatedAssignmentTarget
- Author:
- semancik
-
-
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.AssignmentPathImpl
getAssignmentPath()
Collection<ExclusionPolicyConstraintType>
getExclusions()
Only for legacy exclusions.String
getOid()
PrismObject<? extends AssignmentHolderType>
getTarget()
boolean
isDirectlyAssigned()
boolean
isEvaluateConstructions()
True for roles whose constructions are evaluated - i.e.boolean
isValid()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Method Detail
-
getTarget
public 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://wiki.evolveum.com/display/midPoint/Assignment+Configuration#AssignmentConfiguration-ConstructionVariables)- Specified by:
getAssignment
in interfaceEvaluatedAssignmentTarget
-
getAssignmentPath
@NotNull public 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
-
-