Interface EvaluatedPolicyRule
- All Superinterfaces:
- AssociatedPolicyRule,- Cloneable,- DebugDumpable,- Serializable
- All Known Implementing Classes:
- EvaluatedPolicyRuleImpl
TODO document this interface and its methods
- Author:
- semancik
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic enumTo which object is the policy rule targeted, from the point of assignment mechanisms - and how? For example, if it's assigned to the focus (to be applied either to the focus or the projections), then it'sEvaluatedPolicyRule.TargetType.OBJECT.
- 
Field SummaryFields inherited from interface com.evolveum.midpoint.util.DebugDumpableINDENT_STRING
- 
Method SummaryModifier and TypeMethodDescriptionstatic booleancontains(List<? extends EvaluatedPolicyRule> rules, EvaluatedPolicyRule otherRule) boolean@NotNull Collection<EvaluatedPolicyRuleTrigger<?>>Returns all triggers, even those that were indirectly collected via situation policy rules.<T extends EvaluatedPolicyRuleTrigger<?>>
 Collection<T>getAllTriggers(Class<T> type) Returns all triggers of given type, stepping down to situation policy rules and composite triggers.intgetCount()Collection<? extends PolicyActionConfigItem<?>>Returns all enabled actions.@Nullable EvaluatedAssignmentEvaluated assignment that brought this policy rule to the focus or target.@Nullable StringgetName()Name of the policy rule, as configured.@NotNull PolicyRuleType@NotNull EvaluatedPolicyRule.TargetTypeTo which object is the policy rule targeted and how.@NotNull Collection<EvaluatedPolicyRuleTrigger<?>>booleandefault booleandefault booleandefault booleandefault booleanbooleanisGlobal()booleanvoidsetCount(int value) Methods inherited from interface com.evolveum.midpoint.model.api.context.AssociatedPolicyRuleaddToEvaluatedPolicyRuleBeans, addTrigger, containsEnabledAction, getEnabledAction, getEnabledActions, getEvaluatedPolicyRule, getNewOwner, getNewOwnerShortString, getPolicyRuleIdentifier, getPolicySituation, getRelevantExclusionTriggers, isEvaluated, isTriggered, toShortStringMethods inherited from interface com.evolveum.midpoint.util.DebugDumpabledebugDump, debugDump, debugDumpLazily, debugDumpLazily
- 
Method Details- 
getTriggers
- 
getAllTriggersReturns all triggers, even those that were indirectly collected via situation policy rules.
- 
getAllTriggersReturns all triggers of given type, stepping down to situation policy rules and composite triggers. An exception are composite "not" triggers: it is usually of no use to collect negated triggers.
- 
getNameName of the policy rule, as configured.
- 
getPolicyRule
- 
getPolicyConstraintsPolicyConstraintsType getPolicyConstraints()
- 
getPolicyThresholdPolicyThresholdType getPolicyThreshold()
- 
getActionsPolicyActionsType getActions()
- 
getEvaluatedAssignmentEvaluated assignment that brought this policy rule to the focus or target. May be missing for artificially-crafted policy rules (to be reviewed!)
- 
getAssignmentPathAssignmentPath getAssignmentPath()
- 
isGlobalboolean isGlobal()
- 
extractMessagesList<TreeNode<LocalizableMessage>> extractMessages()
- 
extractShortMessagesList<TreeNode<LocalizableMessage>> extractShortMessages()
- 
containsEnabledActionboolean containsEnabledAction()
- 
getEnabledActionsCollection<? extends PolicyActionConfigItem<?>> getEnabledActions()Returns all enabled actions. Fails if they were not computed yet.
- 
hasThresholddefault boolean hasThreshold()
- 
getCountint getCount()
- 
setCountvoid setCount(int value) 
- 
isOverThreshold- Throws:
- ConfigurationException
 
- 
hasSituationConstraintboolean hasSituationConstraint()
- 
isApplicableToFocusObjectdefault boolean isApplicableToFocusObject()
- 
isApplicableToProjectiondefault boolean isApplicableToProjection()
- 
isApplicableToAssignmentdefault boolean isApplicableToAssignment()
- 
getTargetTypeTo which object is the policy rule targeted and how.
- 
contains
 
-