Class PolicyExceptionType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.PolicyExceptionType
-
- All Implemented Interfaces:
Containerable,DebugDumpable,Serializable,Cloneable
public class PolicyExceptionType extends Object implements Serializable, Cloneable, Containerable
Recorded exception from a policy rule. The exceptions that are approved are recoded here to avoid re-evaluating and re-approving them all the time. This is EXPERIMENTAL functionality. It is likely to change in the near future.Java class for PolicyExceptionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PolicyExceptionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="ruleName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="policySituation" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> <element name="metadata" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}MetadataType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QNameCOMPLEX_TYPEstatic ItemNameF_METADATAstatic ItemNameF_POLICY_SITUATIONstatic ItemNameF_RULE_NAME-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description PolicyExceptionType()PolicyExceptionType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContainerValueasPrismContainerValue()MetadataTypebeginMetadata()PolicyExceptionTypeclone()<X> Xend()booleanequals(Object object)MetadataTypegetMetadata()StringgetPolicySituation()StringgetRuleName()inthashCode()PolicyExceptionTypemetadata(MetadataType value)PolicyExceptionTypepolicySituation(String value)PolicyExceptionTyperuleName(String value)voidsetMetadata(MetadataType value)voidsetPolicySituation(String value)voidsetRuleName(String value)voidsetupContainerValue(PrismContainerValue containerValue)Setup value to the containerable representation.StringtoString()-
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
-
PolicyExceptionType
public PolicyExceptionType()
-
PolicyExceptionType
public PolicyExceptionType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValuein interfaceContainerable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:ContainerableSetup 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:
setupContainerValuein interfaceContainerable
-
end
public <X> X end()
-
getRuleName
public String getRuleName()
-
setRuleName
public void setRuleName(String value)
-
getPolicySituation
public String getPolicySituation()
-
setPolicySituation
public void setPolicySituation(String value)
-
getMetadata
public MetadataType getMetadata()
-
setMetadata
public void setMetadata(MetadataType value)
-
ruleName
public PolicyExceptionType ruleName(String value)
-
policySituation
public PolicyExceptionType policySituation(String value)
-
metadata
public PolicyExceptionType metadata(MetadataType value)
-
beginMetadata
public MetadataType beginMetadata()
-
clone
public PolicyExceptionType clone()
-
-