Class PcpAspectConfigurationType
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.PcpAspectConfigurationType
-
- All Implemented Interfaces:
Containerable
,Freezable
,com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
,DebugDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
GenericPcpAspectConfigurationType
public class PcpAspectConfigurationType extends com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
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.- 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_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
static Producer<PcpAspectConfigurationType>
FACTORY
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description PcpAspectConfigurationType()
PcpAspectConfigurationType(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_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
-
FACTORY
public static final Producer<PcpAspectConfigurationType> FACTORY
-
-
Constructor Detail
-
PcpAspectConfigurationType
public PcpAspectConfigurationType()
-
PcpAspectConfigurationType
@Deprecated public PcpAspectConfigurationType(PrismContext context)
Deprecated.
-
-
Method Detail
-
isEnabled
public Boolean isEnabled()
-
setEnabled
public void setEnabled(Boolean value)
-
getApproverRef
public List<ObjectReferenceType> getApproverRef()
-
getApproverExpression
public List<ExpressionType> getApproverExpression()
-
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)
-
equals
public boolean equals(Object other)
- Overrides:
equals
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
id
public PcpAspectConfigurationType id(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()
-
end
public <X> X end()
-
clone
public PcpAspectConfigurationType clone()
- Overrides:
clone
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
-