Class ScriptExecutionPolicyActionType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.PolicyActionType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ScriptExecutionPolicyActionType
-
- All Implemented Interfaces:
Containerable,DebugDumpable,Serializable,Cloneable
public class ScriptExecutionPolicyActionType extends PolicyActionType implements Serializable, Cloneable, Containerable
TODO HIGHLY EXPERIMENTAL. Use at your own risk. No guarantees here.Java class for ScriptExecutionPolicyActionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ScriptExecutionPolicyActionType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PolicyActionType"> <sequence> <element name="object" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ScriptExecutionObjectType" minOccurs="0"/> <element name="executeScript" type="{http://midpoint.evolveum.com/xml/ns/public/model/scripting-3}ExecuteScriptType" maxOccurs="unbounded" minOccurs="0"/> <element name="asynchronousExecution" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AsynchronousScriptExecutionType" minOccurs="0"/> <element name="runAsRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QNameCOMPLEX_TYPEstatic ItemNameF_ASYNCHRONOUS_EXECUTIONstatic ItemNameF_EXECUTE_SCRIPTstatic ItemNameF_OBJECTstatic ItemNameF_RUN_AS_REF-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.PolicyActionType
F_CONDITION, F_DESCRIPTION, F_DOCUMENTATION, F_NAME
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ScriptExecutionPolicyActionType()ScriptExecutionPolicyActionType(PrismContext prismContext)
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.PolicyActionType
getCondition, getDescription, getDocumentation, getId, getName, setCondition, setDescription, setDocumentation, setId, setName
-
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_OBJECT
public static final ItemName F_OBJECT
-
F_EXECUTE_SCRIPT
public static final ItemName F_EXECUTE_SCRIPT
-
F_ASYNCHRONOUS_EXECUTION
public static final ItemName F_ASYNCHRONOUS_EXECUTION
-
F_RUN_AS_REF
public static final ItemName F_RUN_AS_REF
-
-
Constructor Detail
-
ScriptExecutionPolicyActionType
public ScriptExecutionPolicyActionType()
-
ScriptExecutionPolicyActionType
public ScriptExecutionPolicyActionType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValuein interfaceContainerable- Overrides:
asPrismContainerValuein classPolicyActionType
-
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- Overrides:
setupContainerValuein classPolicyActionType
-
toString
public String toString()
- Overrides:
toStringin classPolicyActionType
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classPolicyActionType
-
hashCode
public int hashCode()
- Overrides:
hashCodein classPolicyActionType
-
end
public <X> X end()
- Overrides:
endin classPolicyActionType
-
getObject
public ScriptExecutionObjectType getObject()
-
setObject
public void setObject(ScriptExecutionObjectType value)
-
getExecuteScript
public List<ExecuteScriptType> getExecuteScript()
-
createExecuteScriptList
public List<ExecuteScriptType> createExecuteScriptList()
-
getAsynchronousExecution
public AsynchronousScriptExecutionType getAsynchronousExecution()
-
setAsynchronousExecution
public void setAsynchronousExecution(AsynchronousScriptExecutionType value)
-
getRunAsRef
public ObjectReferenceType getRunAsRef()
-
setRunAsRef
public void setRunAsRef(ObjectReferenceType value)
-
object
public ScriptExecutionPolicyActionType object(ScriptExecutionObjectType value)
-
beginObject
public ScriptExecutionObjectType beginObject()
-
executeScript
public ScriptExecutionPolicyActionType executeScript(ExecuteScriptType value)
-
beginExecuteScript
public ExecuteScriptType beginExecuteScript()
-
asynchronousExecution
public ScriptExecutionPolicyActionType asynchronousExecution(AsynchronousScriptExecutionType value)
-
beginAsynchronousExecution
public AsynchronousScriptExecutionType beginAsynchronousExecution()
-
runAsRef
public ScriptExecutionPolicyActionType runAsRef(ObjectReferenceType value)
-
runAsRef
public ScriptExecutionPolicyActionType runAsRef(String oid, QName type)
-
runAsRef
public ScriptExecutionPolicyActionType runAsRef(String oid, QName type, QName relation)
-
beginRunAsRef
public ObjectReferenceType beginRunAsRef()
-
name
public ScriptExecutionPolicyActionType name(String value)
- Overrides:
namein classPolicyActionType
-
description
public ScriptExecutionPolicyActionType description(String value)
- Overrides:
descriptionin classPolicyActionType
-
documentation
public ScriptExecutionPolicyActionType documentation(String value)
- Overrides:
documentationin classPolicyActionType
-
condition
public ScriptExecutionPolicyActionType condition(ExpressionType value)
- Overrides:
conditionin classPolicyActionType
-
beginCondition
public ExpressionType beginCondition()
- Overrides:
beginConditionin classPolicyActionType
-
id
public ScriptExecutionPolicyActionType id(Long value)
- Overrides:
idin classPolicyActionType
-
clone
public ScriptExecutionPolicyActionType clone()
- Overrides:
clonein classPolicyActionType
-
-