Class EvaluatedHasAssignmentTrigger
- java.lang.Object
-
- com.evolveum.midpoint.model.api.context.EvaluatedPolicyRuleTrigger<HasAssignmentPolicyConstraintType>
-
- com.evolveum.midpoint.model.api.context.EvaluatedHasAssignmentTrigger
-
- All Implemented Interfaces:
DebugDumpable
,Serializable
public class EvaluatedHasAssignmentTrigger extends EvaluatedPolicyRuleTrigger<HasAssignmentPolicyConstraintType>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description EvaluatedHasAssignmentTrigger(@NotNull PolicyConstraintKindType kind, @NotNull HasAssignmentPolicyConstraintType constraint, @NotNull Collection<PrismObject<?>> matchingTargets, LocalizableMessage message, LocalizableMessage shortMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<? extends PrismObject<?>>
getTargetObjects()
EvaluatedHasAssignmentTriggerType
toEvaluatedPolicyRuleTriggerBean(@NotNull PolicyRuleExternalizationOptions options, @Nullable EvaluatedAssignment newOwner)
-
Methods inherited from class com.evolveum.midpoint.model.api.context.EvaluatedPolicyRuleTrigger
debugDump, debugDumpSpecific, equals, fillCommonContent, getConstraint, getConstraintKind, getInnerTriggers, getMessage, getShortMessage, hashCode, isEnforcementOverride, isFinal, isHidden, isRelevantForNewOwner, 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
-
EvaluatedHasAssignmentTrigger
public EvaluatedHasAssignmentTrigger(@NotNull @NotNull PolicyConstraintKindType kind, @NotNull @NotNull HasAssignmentPolicyConstraintType constraint, @NotNull @NotNull Collection<PrismObject<?>> matchingTargets, LocalizableMessage message, LocalizableMessage shortMessage)
-
-
Method Detail
-
toEvaluatedPolicyRuleTriggerBean
public EvaluatedHasAssignmentTriggerType toEvaluatedPolicyRuleTriggerBean(@NotNull @NotNull PolicyRuleExternalizationOptions options, @Nullable @Nullable EvaluatedAssignment newOwner)
- Overrides:
toEvaluatedPolicyRuleTriggerBean
in classEvaluatedPolicyRuleTrigger<HasAssignmentPolicyConstraintType>
-
getTargetObjects
public Collection<? extends PrismObject<?>> getTargetObjects()
- Overrides:
getTargetObjects
in classEvaluatedPolicyRuleTrigger<HasAssignmentPolicyConstraintType>
- 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).
-
-