public class PolicyRuleType extends Object implements Serializable, Cloneable, Containerable
Java class for PolicyRuleType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PolicyRuleType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="policyConstraints" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PolicyConstraintsType"/> <element name="policySituation" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> <element name="policyThreshold" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PolicyThresholdType" minOccurs="0"/> <element name="policyActions" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PolicyActionsType" minOccurs="0"/> <element name="evaluationTarget" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PolicyRuleEvaluationTargetType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
static QName |
COMPLEX_TYPE |
static ItemName |
F_DESCRIPTION |
static ItemName |
F_EVALUATION_TARGET |
static ItemName |
F_NAME |
static ItemName |
F_POLICY_ACTIONS |
static ItemName |
F_POLICY_CONSTRAINTS |
static ItemName |
F_POLICY_SITUATION |
static ItemName |
F_POLICY_THRESHOLD |
Constructor and Description |
---|
PolicyRuleType() |
PolicyRuleType(PrismContext prismContext) |
public static final QName COMPLEX_TYPE
public static final ItemName F_NAME
public static final ItemName F_DESCRIPTION
public static final ItemName F_POLICY_CONSTRAINTS
public static final ItemName F_POLICY_SITUATION
public static final ItemName F_POLICY_THRESHOLD
public static final ItemName F_POLICY_ACTIONS
public static final ItemName F_EVALUATION_TARGET
public PolicyRuleType()
public PolicyRuleType(PrismContext prismContext)
public PrismContainerValue asPrismContainerValue()
asPrismContainerValue
in interface Containerable
public void setupContainerValue(PrismContainerValue containerValue)
Containerable
setupContainerValue
in interface Containerable
public <X> X end()
public String getName()
public void setName(String value)
public String getDescription()
public void setDescription(String value)
public PolicyConstraintsType getPolicyConstraints()
public void setPolicyConstraints(PolicyConstraintsType value)
public String getPolicySituation()
public void setPolicySituation(String value)
public PolicyThresholdType getPolicyThreshold()
public void setPolicyThreshold(PolicyThresholdType value)
public PolicyActionsType getPolicyActions()
public void setPolicyActions(PolicyActionsType value)
public PolicyRuleEvaluationTargetType getEvaluationTarget()
public void setEvaluationTarget(PolicyRuleEvaluationTargetType value)
public PolicyRuleType name(String value)
public PolicyRuleType description(String value)
public PolicyRuleType policyConstraints(PolicyConstraintsType value)
public PolicyConstraintsType beginPolicyConstraints()
public PolicyRuleType policySituation(String value)
public PolicyRuleType policyThreshold(PolicyThresholdType value)
public PolicyThresholdType beginPolicyThreshold()
public PolicyRuleType policyActions(PolicyActionsType value)
public PolicyActionsType beginPolicyActions()
public PolicyRuleType evaluationTarget(PolicyRuleEvaluationTargetType value)
public PolicyRuleType clone()
Copyright © 2020 Evolveum. All rights reserved.