Class GlobalPolicyRuleType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.PolicyRuleType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.GlobalPolicyRuleType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class GlobalPolicyRuleType extends PolicyRuleType implements Serializable, Cloneable, Containerable
Policy rule for use in global configuration.Java class for GlobalPolicyRuleType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="GlobalPolicyRuleType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PolicyRuleType"> <sequence> <element name="focusSelector" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectSelectorType" minOccurs="0"/> <element name="targetSelector" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectSelectorType" minOccurs="0"/> <element name="condition" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}MappingType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_CONDITION
static ItemName
F_FOCUS_SELECTOR
static ItemName
F_TARGET_SELECTOR
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.PolicyRuleType
F_DESCRIPTION, F_DOCUMENTATION, F_EVALUATION_TARGET, F_NAME, F_POLICY_ACTIONS, F_POLICY_CONSTRAINTS, F_POLICY_SITUATION, F_POLICY_THRESHOLD
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description GlobalPolicyRuleType()
GlobalPolicyRuleType(PrismContext prismContext)
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.PolicyRuleType
getDescription, getDocumentation, getEvaluationTarget, getId, getName, getPolicyActions, getPolicyConstraints, getPolicySituation, getPolicyThreshold, setDescription, setDocumentation, setEvaluationTarget, setId, setName, setPolicyActions, setPolicyConstraints, setPolicySituation, setPolicyThreshold
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Constructor Detail
-
GlobalPolicyRuleType
public GlobalPolicyRuleType()
-
GlobalPolicyRuleType
public GlobalPolicyRuleType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
- Overrides:
asPrismContainerValue
in classPolicyRuleType
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:Containerable
Setup value to the containerable representation. This is used to after (empty) containerable is created to initialize it with a correct prism container value. Note: This method DOES NOT change the container value parent.- Specified by:
setupContainerValue
in interfaceContainerable
- Overrides:
setupContainerValue
in classPolicyRuleType
-
toString
public String toString()
- Overrides:
toString
in classPolicyRuleType
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classPolicyRuleType
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classPolicyRuleType
-
end
public <X> X end()
- Overrides:
end
in classPolicyRuleType
-
getFocusSelector
public ObjectSelectorType getFocusSelector()
-
setFocusSelector
public void setFocusSelector(ObjectSelectorType value)
-
getTargetSelector
public ObjectSelectorType getTargetSelector()
-
setTargetSelector
public void setTargetSelector(ObjectSelectorType value)
-
getCondition
public MappingType getCondition()
-
setCondition
public void setCondition(MappingType value)
-
focusSelector
public GlobalPolicyRuleType focusSelector(ObjectSelectorType value)
-
beginFocusSelector
public ObjectSelectorType beginFocusSelector()
-
targetSelector
public GlobalPolicyRuleType targetSelector(ObjectSelectorType value)
-
beginTargetSelector
public ObjectSelectorType beginTargetSelector()
-
condition
public GlobalPolicyRuleType condition(MappingType value)
-
beginCondition
public MappingType beginCondition()
-
name
public GlobalPolicyRuleType name(String value)
- Overrides:
name
in classPolicyRuleType
-
description
public GlobalPolicyRuleType description(String value)
- Overrides:
description
in classPolicyRuleType
-
documentation
public GlobalPolicyRuleType documentation(String value)
- Overrides:
documentation
in classPolicyRuleType
-
policyConstraints
public GlobalPolicyRuleType policyConstraints(PolicyConstraintsType value)
- Overrides:
policyConstraints
in classPolicyRuleType
-
beginPolicyConstraints
public PolicyConstraintsType beginPolicyConstraints()
- Overrides:
beginPolicyConstraints
in classPolicyRuleType
-
policySituation
public GlobalPolicyRuleType policySituation(String value)
- Overrides:
policySituation
in classPolicyRuleType
-
policyThreshold
public GlobalPolicyRuleType policyThreshold(PolicyThresholdType value)
- Overrides:
policyThreshold
in classPolicyRuleType
-
beginPolicyThreshold
public PolicyThresholdType beginPolicyThreshold()
- Overrides:
beginPolicyThreshold
in classPolicyRuleType
-
policyActions
public GlobalPolicyRuleType policyActions(PolicyActionsType value)
- Overrides:
policyActions
in classPolicyRuleType
-
beginPolicyActions
public PolicyActionsType beginPolicyActions()
- Overrides:
beginPolicyActions
in classPolicyRuleType
-
evaluationTarget
public GlobalPolicyRuleType evaluationTarget(PolicyRuleEvaluationTargetType value)
- Overrides:
evaluationTarget
in classPolicyRuleType
-
id
public GlobalPolicyRuleType id(Long value)
- Overrides:
id
in classPolicyRuleType
-
clone
public GlobalPolicyRuleType clone()
- Overrides:
clone
in classPolicyRuleType
-
-