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 QName
COMPLEX_TYPE
static ItemName
F_ASYNCHRONOUS_EXECUTION
static ItemName
F_EXECUTE_SCRIPT
static ItemName
F_OBJECT
static ItemName
F_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:
asPrismContainerValue
in interfaceContainerable
- Overrides:
asPrismContainerValue
in classPolicyActionType
-
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
- Overrides:
setupContainerValue
in classPolicyActionType
-
toString
public String toString()
- Overrides:
toString
in classPolicyActionType
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classPolicyActionType
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classPolicyActionType
-
end
public <X> X end()
- Overrides:
end
in 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:
name
in classPolicyActionType
-
description
public ScriptExecutionPolicyActionType description(String value)
- Overrides:
description
in classPolicyActionType
-
documentation
public ScriptExecutionPolicyActionType documentation(String value)
- Overrides:
documentation
in classPolicyActionType
-
condition
public ScriptExecutionPolicyActionType condition(ExpressionType value)
- Overrides:
condition
in classPolicyActionType
-
beginCondition
public ExpressionType beginCondition()
- Overrides:
beginCondition
in classPolicyActionType
-
id
public ScriptExecutionPolicyActionType id(Long value)
- Overrides:
id
in classPolicyActionType
-
clone
public ScriptExecutionPolicyActionType clone()
- Overrides:
clone
in classPolicyActionType
-
-