Class PolicyRuleType
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.PolicyRuleType
-
- All Implemented Interfaces:
Containerable
,Freezable
,com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
,DebugDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
GlobalPolicyRuleType
public class PolicyRuleType extends com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
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.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable.Any
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ContainerableList<T extends Containerable>, com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ReferencableList<T extends Referencable>
-
-
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
static Producer<PolicyRuleType>
FACTORY
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description PolicyRuleType()
PolicyRuleType(PrismContext context)
Deprecated.
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
asPrismContainerValue, getId, hashCode, setId, setupContainerValue, toString
-
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, freeze, isImmutable
-
Methods inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
prismGetContainerableList, prismGetPropertyValue, prismGetPropertyValues, prismGetReferencable, prismGetReferencableList, prismGetReferenceObjectable, prismGetSingleContainerable, prismSetPropertyValue, prismSetReferencable, prismSetReferenceObjectable, prismSetSingleContainerable
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
-
-
-
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
-
FACTORY
public static final Producer<PolicyRuleType> FACTORY
-
-
Constructor Detail
-
PolicyRuleType
public PolicyRuleType()
-
PolicyRuleType
@Deprecated public PolicyRuleType(PrismContext context)
Deprecated.
-
-
Method Detail
-
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)
-
equals
public boolean equals(Object other)
- Overrides:
equals
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
id
public PolicyRuleType id(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)
-
end
public <X> X end()
-
clone
public PolicyRuleType clone()
- Overrides:
clone
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
-