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 QName
COMPLEX_TYPE
static ItemName
F_METADATA
static ItemName
F_POLICY_SITUATION
static ItemName
F_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 PrismContainerValue
asPrismContainerValue()
MetadataType
beginMetadata()
PolicyExceptionType
clone()
<X> X
end()
boolean
equals(Object object)
MetadataType
getMetadata()
String
getPolicySituation()
String
getRuleName()
int
hashCode()
PolicyExceptionType
metadata(MetadataType value)
PolicyExceptionType
policySituation(String value)
PolicyExceptionType
ruleName(String value)
void
setMetadata(MetadataType value)
void
setPolicySituation(String value)
void
setRuleName(String value)
void
setupContainerValue(PrismContainerValue containerValue)
Setup value to the containerable representation.String
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
-
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:
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()
-
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()
-
-