Class ScriptTaskImpl
- java.lang.Object
-
- org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
-
- All Implemented Interfaces:
Activity
,BaseElement
,BpmnModelElementInstance
,FlowElement
,FlowNode
,InteractionNode
,ScriptTask
,Task
,org.camunda.bpm.model.xml.instance.ModelElementInstance
public class ScriptTaskImpl extends TaskImpl implements ScriptTask
The BPMN scriptTask element- Author:
- Sebastian Menski
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.camunda.bpm.model.xml.type.child.ChildElement<Script>
scriptChild
protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String>
scriptFormatAttribute
-
Fields inherited from class io.zeebe.model.bpmn.impl.instance.TaskImpl
camundaAsyncAttribute
-
Fields inherited from class io.zeebe.model.bpmn.impl.instance.ActivityImpl
completionQuantityAttribute, dataInputAssociationCollection, dataOutputAssociationCollection, defaultAttribute, ioSpecificationChild, isForCompensationAttribute, loopCharacteristicsChild, propertyCollection, resourceRoleCollection, startQuantityAttribute
-
Fields inherited from class io.zeebe.model.bpmn.impl.instance.FlowNodeImpl
incomingCollection, outgoingCollection
-
Fields inherited from class io.zeebe.model.bpmn.impl.instance.FlowElementImpl
auditingChild, categoryValueRefCollection, monitoringChild, nameAttribute
-
Fields inherited from class io.zeebe.model.bpmn.impl.instance.BaseElementImpl
documentationCollection, extensionElementsChild, idAttribute
-
-
Constructor Summary
Constructors Constructor Description ScriptTaskImpl(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext context)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ScriptTaskBuilder
builder()
Returns a new fluent builder for the element if implemented.Script
getScript()
String
getScriptFormat()
static void
registerType(org.camunda.bpm.model.xml.ModelBuilder modelBuilder)
void
setScript(Script script)
void
setScriptFormat(String scriptFormat)
-
Methods inherited from class io.zeebe.model.bpmn.impl.instance.TaskImpl
getDiagramElement
-
Methods inherited from class io.zeebe.model.bpmn.impl.instance.ActivityImpl
getBoundaryEvents, getCompletionQuantity, getDataInputAssociations, getDataOutputAssociations, getDefault, getIoSpecification, getLoopCharacteristics, getProperties, getResourceRoles, getStartQuantity, isForCompensation, setCompletionQuantity, setDefault, setForCompensation, setIoSpecification, setLoopCharacteristics, setStartQuantity
-
Methods inherited from class io.zeebe.model.bpmn.impl.instance.FlowNodeImpl
getIncoming, getOutgoing, getPreviousNodes, getSucceedingNodes, updateAfterReplacement
-
Methods inherited from class io.zeebe.model.bpmn.impl.instance.FlowElementImpl
getAuditing, getCategoryValueRefs, getMonitoring, getName, setAuditing, setMonitoring, setName
-
Methods inherited from class io.zeebe.model.bpmn.impl.instance.BaseElementImpl
getDocumentations, getExtensionElements, getId, getIncomingReferencesByType, getSingleExtensionElement, setExtensionElements, setId
-
Methods inherited from class io.zeebe.model.bpmn.impl.instance.BpmnModelElementInstanceImpl
getScope, isScope
-
Methods inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
addChildElement, asSet, equals, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, hashCode, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValueNs, setAttributeValueNs, setAttributeValueNs, setTextContent, setUniqueChildElementByNameNs
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.zeebe.model.bpmn.instance.Activity
getBoundaryEvents, getCompletionQuantity, getDataInputAssociations, getDataOutputAssociations, getDefault, getIoSpecification, getLoopCharacteristics, getProperties, getResourceRoles, getStartQuantity, isForCompensation, setCompletionQuantity, setDefault, setForCompensation, setIoSpecification, setLoopCharacteristics, setStartQuantity
-
Methods inherited from interface io.zeebe.model.bpmn.instance.BaseElement
getDocumentations, getExtensionElements, getId, getSingleExtensionElement, setExtensionElements, setId
-
Methods inherited from interface io.zeebe.model.bpmn.instance.BpmnModelElementInstance
getScope, isScope
-
Methods inherited from interface io.zeebe.model.bpmn.instance.FlowElement
getAuditing, getCategoryValueRefs, getMonitoring, getName, setAuditing, setMonitoring, setName
-
Methods inherited from interface io.zeebe.model.bpmn.instance.FlowNode
getIncoming, getOutgoing, getPreviousNodes, getSucceedingNodes
-
Methods inherited from interface io.zeebe.model.bpmn.instance.InteractionNode
getId, setId
-
Methods inherited from interface org.camunda.bpm.model.xml.instance.ModelElementInstance
addChildElement, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValueNs, setAttributeValueNs, setAttributeValueNs, setTextContent, setUniqueChildElementByNameNs, updateAfterReplacement
-
Methods inherited from interface io.zeebe.model.bpmn.instance.Task
getDiagramElement
-
-
-
-
Method Detail
-
registerType
public static void registerType(org.camunda.bpm.model.xml.ModelBuilder modelBuilder)
-
builder
public ScriptTaskBuilder builder()
Description copied from interface:BpmnModelElementInstance
Returns a new fluent builder for the element if implemented.- Specified by:
builder
in interfaceBpmnModelElementInstance
- Specified by:
builder
in interfaceFlowNode
- Specified by:
builder
in interfaceScriptTask
- Overrides:
builder
in classTaskImpl
- Returns:
- the builder object
-
getScriptFormat
public String getScriptFormat()
- Specified by:
getScriptFormat
in interfaceScriptTask
-
setScriptFormat
public void setScriptFormat(String scriptFormat)
- Specified by:
setScriptFormat
in interfaceScriptTask
-
getScript
public Script getScript()
- Specified by:
getScript
in interfaceScriptTask
-
setScript
public void setScript(Script script)
- Specified by:
setScript
in interfaceScriptTask
-
-