Class PolicyRuleType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.PolicyRuleType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
GlobalPolicyRuleType
public class PolicyRuleType extends Object implements Serializable, Cloneable, Containerable
These rules specify compliance and governance constraints. E.g. role exclusion (SoD), number of assignees, approvals, remediation, etc. This is the form suitable for use in assignments/inducements.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 ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}documentation" 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> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_DESCRIPTION
static ItemName
F_DOCUMENTATION
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
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description PolicyRuleType()
PolicyRuleType(PrismContext prismContext)
-
Method Summary
-
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
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_NAME
public static final ItemName F_NAME
-
F_DESCRIPTION
public static final ItemName F_DESCRIPTION
-
F_DOCUMENTATION
public static final ItemName F_DOCUMENTATION
-
F_POLICY_CONSTRAINTS
public static final ItemName F_POLICY_CONSTRAINTS
-
F_POLICY_SITUATION
public static final ItemName F_POLICY_SITUATION
-
F_POLICY_THRESHOLD
public static final ItemName F_POLICY_THRESHOLD
-
F_POLICY_ACTIONS
public static final ItemName F_POLICY_ACTIONS
-
F_EVALUATION_TARGET
public static final ItemName F_EVALUATION_TARGET
-
-
Constructor Detail
-
PolicyRuleType
public PolicyRuleType()
-
PolicyRuleType
public PolicyRuleType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
-
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
-
end
public <X> X end()
-
getName
public String getName()
-
setName
public void setName(String value)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String value)
-
getDocumentation
public String getDocumentation()
-
setDocumentation
public void setDocumentation(String value)
-
getPolicyConstraints
public PolicyConstraintsType getPolicyConstraints()
-
setPolicyConstraints
public void setPolicyConstraints(PolicyConstraintsType value)
-
getPolicySituation
public String getPolicySituation()
-
setPolicySituation
public void setPolicySituation(String value)
-
getPolicyThreshold
public PolicyThresholdType getPolicyThreshold()
-
setPolicyThreshold
public void setPolicyThreshold(PolicyThresholdType value)
-
getPolicyActions
public PolicyActionsType getPolicyActions()
-
setPolicyActions
public void setPolicyActions(PolicyActionsType value)
-
getEvaluationTarget
public PolicyRuleEvaluationTargetType getEvaluationTarget()
-
setEvaluationTarget
public void setEvaluationTarget(PolicyRuleEvaluationTargetType value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
name
public PolicyRuleType name(String value)
-
description
public PolicyRuleType description(String value)
-
documentation
public PolicyRuleType documentation(String value)
-
policyConstraints
public PolicyRuleType policyConstraints(PolicyConstraintsType value)
-
beginPolicyConstraints
public PolicyConstraintsType beginPolicyConstraints()
-
policySituation
public PolicyRuleType policySituation(String value)
-
policyThreshold
public PolicyRuleType policyThreshold(PolicyThresholdType value)
-
beginPolicyThreshold
public PolicyThresholdType beginPolicyThreshold()
-
policyActions
public PolicyRuleType policyActions(PolicyActionsType value)
-
beginPolicyActions
public PolicyActionsType beginPolicyActions()
-
evaluationTarget
public PolicyRuleType evaluationTarget(PolicyRuleEvaluationTargetType value)
-
id
public PolicyRuleType id(Long value)
-
clone
public PolicyRuleType clone()
-
-