Class PcpAspectConfigurationType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.PcpAspectConfigurationType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
GenericPcpAspectConfigurationType
public class PcpAspectConfigurationType extends Object implements Serializable, Cloneable, Containerable
Configuration for a primary change processor aspect. Some aspects do not require any configuration - for example, role and resource assignment ones. They take all the approver information directly from the object (role or resource) being assigned. However, there are some others (namely, role/resource/user/whatever add/modify aspects) that need the explicit information about approver(s) in order to know where to route the request. For the former aspects, the approver information specified here takes precedence over approver information derived from the objects being used (e.g. role or resource). More specifically, if any approver information is here, no approver information is taken from the objects. This could be changed (e.g. by allowing to tune this behavior) in the future.Java class for PcpAspectConfigurationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PcpAspectConfigurationType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="approverRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" maxOccurs="unbounded" minOccurs="0"/> <element name="approverExpression" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionType" maxOccurs="unbounded" minOccurs="0"/> <element name="approvalSchema" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ApprovalSchemaType" minOccurs="0"/> <element name="approvalProcess" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="automaticallyApproved" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionType" minOccurs="0"/> <element name="applicabilityCondition" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionType" 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_APPLICABILITY_CONDITION
static ItemName
F_APPROVAL_PROCESS
static ItemName
F_APPROVAL_SCHEMA
static ItemName
F_APPROVER_EXPRESSION
static ItemName
F_APPROVER_REF
static ItemName
F_AUTOMATICALLY_APPROVED
static ItemName
F_ENABLED
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description PcpAspectConfigurationType()
PcpAspectConfigurationType(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_ENABLED
public static final ItemName F_ENABLED
-
F_APPROVER_REF
public static final ItemName F_APPROVER_REF
-
F_APPROVER_EXPRESSION
public static final ItemName F_APPROVER_EXPRESSION
-
F_APPROVAL_SCHEMA
public static final ItemName F_APPROVAL_SCHEMA
-
F_APPROVAL_PROCESS
public static final ItemName F_APPROVAL_PROCESS
-
F_AUTOMATICALLY_APPROVED
public static final ItemName F_AUTOMATICALLY_APPROVED
-
F_APPLICABILITY_CONDITION
public static final ItemName F_APPLICABILITY_CONDITION
-
-
Constructor Detail
-
PcpAspectConfigurationType
public PcpAspectConfigurationType()
-
PcpAspectConfigurationType
public PcpAspectConfigurationType(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()
-
isEnabled
public Boolean isEnabled()
-
setEnabled
public void setEnabled(Boolean value)
-
getApproverRef
public List<ObjectReferenceType> getApproverRef()
-
createApproverRefList
public List<ObjectReferenceType> createApproverRefList()
-
getApproverExpression
public List<ExpressionType> getApproverExpression()
-
createApproverExpressionList
public List<ExpressionType> createApproverExpressionList()
-
getApprovalSchema
public ApprovalSchemaType getApprovalSchema()
-
setApprovalSchema
public void setApprovalSchema(ApprovalSchemaType value)
-
getApprovalProcess
public String getApprovalProcess()
-
setApprovalProcess
public void setApprovalProcess(String value)
-
getAutomaticallyApproved
public ExpressionType getAutomaticallyApproved()
-
setAutomaticallyApproved
public void setAutomaticallyApproved(ExpressionType value)
-
getApplicabilityCondition
public ExpressionType getApplicabilityCondition()
-
setApplicabilityCondition
public void setApplicabilityCondition(ExpressionType value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
enabled
public PcpAspectConfigurationType enabled(Boolean value)
-
approverRef
public PcpAspectConfigurationType approverRef(ObjectReferenceType value)
-
approverRef
public PcpAspectConfigurationType approverRef(String oid, QName type)
-
approverRef
public PcpAspectConfigurationType approverRef(String oid, QName type, QName relation)
-
beginApproverRef
public ObjectReferenceType beginApproverRef()
-
approverExpression
public PcpAspectConfigurationType approverExpression(ExpressionType value)
-
beginApproverExpression
public ExpressionType beginApproverExpression()
-
approvalSchema
public PcpAspectConfigurationType approvalSchema(ApprovalSchemaType value)
-
beginApprovalSchema
public ApprovalSchemaType beginApprovalSchema()
-
approvalProcess
public PcpAspectConfigurationType approvalProcess(String value)
-
automaticallyApproved
public PcpAspectConfigurationType automaticallyApproved(ExpressionType value)
-
beginAutomaticallyApproved
public ExpressionType beginAutomaticallyApproved()
-
applicabilityCondition
public PcpAspectConfigurationType applicabilityCondition(ExpressionType value)
-
beginApplicabilityCondition
public ExpressionType beginApplicabilityCondition()
-
id
public PcpAspectConfigurationType id(Long value)
-
clone
public PcpAspectConfigurationType clone()
-
-