Class PolicyActionsType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.PolicyActionsType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class PolicyActionsType extends Object implements Serializable, Cloneable, Containerable
Actions that are executed as reactions to triggered policy rules. <p>Java class for PolicyActionsType complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType name="PolicyActionsType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="enforcement" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}EnforcementPolicyActionType" minOccurs="0"/> <element name="approval" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ApprovalPolicyActionType" maxOccurs="unbounded" minOccurs="0"/> <element name="remediation" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}RemediationPolicyActionType" minOccurs="0"/> <element name="prune" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PrunePolicyActionType" minOccurs="0"/> <element name="certification" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}CertificationPolicyActionType" minOccurs="0"/> <element name="notification" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}NotificationPolicyActionType" maxOccurs="unbounded" minOccurs="0"/> <element name="record" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}RecordPolicyActionType" minOccurs="0"/> <element name="scriptExecution" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ScriptExecutionPolicyActionType" maxOccurs="unbounded" minOccurs="0"/> <element name="suspendTask" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}SuspendTaskPolicyActionType" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" /> </restriction> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_APPROVAL
static ItemName
F_CERTIFICATION
static ItemName
F_ENFORCEMENT
static ItemName
F_NOTIFICATION
static ItemName
F_PRUNE
static ItemName
F_RECORD
static ItemName
F_REMEDIATION
static ItemName
F_SCRIPT_EXECUTION
static ItemName
F_SUSPEND_TASK
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description PolicyActionsType()
PolicyActionsType(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_ENFORCEMENT
public static final ItemName F_ENFORCEMENT
-
F_APPROVAL
public static final ItemName F_APPROVAL
-
F_REMEDIATION
public static final ItemName F_REMEDIATION
-
F_PRUNE
public static final ItemName F_PRUNE
-
F_CERTIFICATION
public static final ItemName F_CERTIFICATION
-
F_NOTIFICATION
public static final ItemName F_NOTIFICATION
-
F_RECORD
public static final ItemName F_RECORD
-
F_SCRIPT_EXECUTION
public static final ItemName F_SCRIPT_EXECUTION
-
F_SUSPEND_TASK
public static final ItemName F_SUSPEND_TASK
-
-
Constructor Detail
-
PolicyActionsType
public PolicyActionsType()
-
PolicyActionsType
public PolicyActionsType(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()
-
getEnforcement
public EnforcementPolicyActionType getEnforcement()
-
setEnforcement
public void setEnforcement(EnforcementPolicyActionType value)
-
getApproval
public List<ApprovalPolicyActionType> getApproval()
-
createApprovalList
public List<ApprovalPolicyActionType> createApprovalList()
-
getRemediation
public RemediationPolicyActionType getRemediation()
-
setRemediation
public void setRemediation(RemediationPolicyActionType value)
-
getPrune
public PrunePolicyActionType getPrune()
-
setPrune
public void setPrune(PrunePolicyActionType value)
-
getCertification
public CertificationPolicyActionType getCertification()
-
setCertification
public void setCertification(CertificationPolicyActionType value)
-
getNotification
public List<NotificationPolicyActionType> getNotification()
-
createNotificationList
public List<NotificationPolicyActionType> createNotificationList()
-
getRecord
public RecordPolicyActionType getRecord()
-
setRecord
public void setRecord(RecordPolicyActionType value)
-
getScriptExecution
public List<ScriptExecutionPolicyActionType> getScriptExecution()
-
createScriptExecutionList
public List<ScriptExecutionPolicyActionType> createScriptExecutionList()
-
getSuspendTask
public SuspendTaskPolicyActionType getSuspendTask()
-
setSuspendTask
public void setSuspendTask(SuspendTaskPolicyActionType value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
enforcement
public PolicyActionsType enforcement(EnforcementPolicyActionType value)
-
beginEnforcement
public EnforcementPolicyActionType beginEnforcement()
-
approval
public PolicyActionsType approval(ApprovalPolicyActionType value)
-
beginApproval
public ApprovalPolicyActionType beginApproval()
-
remediation
public PolicyActionsType remediation(RemediationPolicyActionType value)
-
beginRemediation
public RemediationPolicyActionType beginRemediation()
-
prune
public PolicyActionsType prune(PrunePolicyActionType value)
-
beginPrune
public PrunePolicyActionType beginPrune()
-
certification
public PolicyActionsType certification(CertificationPolicyActionType value)
-
beginCertification
public CertificationPolicyActionType beginCertification()
-
notification
public PolicyActionsType notification(NotificationPolicyActionType value)
-
beginNotification
public NotificationPolicyActionType beginNotification()
-
record
public PolicyActionsType record(RecordPolicyActionType value)
-
beginRecord
public RecordPolicyActionType beginRecord()
-
scriptExecution
public PolicyActionsType scriptExecution(ScriptExecutionPolicyActionType value)
-
beginScriptExecution
public ScriptExecutionPolicyActionType beginScriptExecution()
-
suspendTask
public PolicyActionsType suspendTask(SuspendTaskPolicyActionType value)
-
beginSuspendTask
public SuspendTaskPolicyActionType beginSuspendTask()
-
id
public PolicyActionsType id(Long value)
-
clone
public PolicyActionsType clone()
-
-