Class EvaluatedExclusionTrigger
- java.lang.Object
-
- com.evolveum.midpoint.model.api.context.EvaluatedPolicyRuleTrigger<ExclusionPolicyConstraintType>
-
- com.evolveum.midpoint.model.api.context.EvaluatedExclusionTrigger
-
- All Implemented Interfaces:
DebugDumpable
,Serializable
public class EvaluatedExclusionTrigger extends EvaluatedPolicyRuleTrigger<ExclusionPolicyConstraintType>
- Author:
- mederly
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description EvaluatedExclusionTrigger(@NotNull ExclusionPolicyConstraintType constraint, LocalizableMessage message, LocalizableMessage shortMessage, @NotNull EvaluatedAssignment conflictingAssignment, ObjectType conflictingTarget, AssignmentPath conflictingPath, boolean enforcementOverride)
EvaluatedExclusionTrigger(@NotNull ExclusionPolicyConstraintType constraint, LocalizableMessage message, LocalizableMessage shortMessage, @NotNull EvaluatedAssignment conflictingAssignment, ObjectType thisTarget, ObjectType conflictingTarget, AssignmentPath thisPath, AssignmentPath conflictingPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
debugDumpSpecific(StringBuilder sb, int indent)
boolean
equals(Object o)
<F extends FocusType>
EvaluatedAssignment<F>getConflictingAssignment()
AssignmentPath
getConflictingPath()
ObjectType
getConflictingTarget()
Collection<? extends PrismObject<?>>
getTargetObjects()
int
hashCode()
EvaluatedExclusionTriggerType
toEvaluatedPolicyRuleTriggerType(PolicyRuleExternalizationOptions options, PrismContext prismContext)
-
Methods inherited from class com.evolveum.midpoint.model.api.context.EvaluatedPolicyRuleTrigger
debugDump, fillCommonContent, getConstraint, getConstraintKind, getInnerTriggers, getMessage, getShortMessage, isEnforcementOverride, isFinal, isHidden, toDiagShortcut, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Constructor Detail
-
EvaluatedExclusionTrigger
public EvaluatedExclusionTrigger(@NotNull @NotNull ExclusionPolicyConstraintType constraint, LocalizableMessage message, LocalizableMessage shortMessage, @NotNull @NotNull EvaluatedAssignment conflictingAssignment, ObjectType thisTarget, ObjectType conflictingTarget, AssignmentPath thisPath, AssignmentPath conflictingPath)
-
EvaluatedExclusionTrigger
public EvaluatedExclusionTrigger(@NotNull @NotNull ExclusionPolicyConstraintType constraint, LocalizableMessage message, LocalizableMessage shortMessage, @NotNull @NotNull EvaluatedAssignment conflictingAssignment, ObjectType conflictingTarget, AssignmentPath conflictingPath, boolean enforcementOverride)
-
-
Method Detail
-
getConflictingAssignment
public <F extends FocusType> EvaluatedAssignment<F> getConflictingAssignment()
-
getConflictingTarget
public ObjectType getConflictingTarget()
-
getConflictingPath
public AssignmentPath getConflictingPath()
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classEvaluatedPolicyRuleTrigger<ExclusionPolicyConstraintType>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classEvaluatedPolicyRuleTrigger<ExclusionPolicyConstraintType>
-
debugDumpSpecific
protected void debugDumpSpecific(StringBuilder sb, int indent)
- Overrides:
debugDumpSpecific
in classEvaluatedPolicyRuleTrigger<ExclusionPolicyConstraintType>
-
toEvaluatedPolicyRuleTriggerType
public EvaluatedExclusionTriggerType toEvaluatedPolicyRuleTriggerType(PolicyRuleExternalizationOptions options, PrismContext prismContext)
- Overrides:
toEvaluatedPolicyRuleTriggerType
in classEvaluatedPolicyRuleTrigger<ExclusionPolicyConstraintType>
-
getTargetObjects
public Collection<? extends PrismObject<?>> getTargetObjects()
- Overrides:
getTargetObjects
in classEvaluatedPolicyRuleTrigger<ExclusionPolicyConstraintType>
- Returns:
- Target object(s) that were matched by constraint that produced this trigger. For example: target of the assignment that was added (and that matched "assignment" constraint).
-
-