Class ScriptTaskImpl
- java.lang.Object
-
- org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.BpmnModelElementInstanceImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.BaseElementImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.FlowElementImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.FlowNodeImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.ActivityImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.TaskImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.ScriptTaskImpl
-
- All Implemented Interfaces:
Activity,BaseElement,BpmnModelElementInstance,FlowElement,FlowNode,InteractionNode,ScriptTask,Task,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 Attribute<java.lang.String>camundaResourceAttributeprotected static Attribute<java.lang.String>camundaResultVariableAttributecamunda extensionsprotected static ChildElement<Script>scriptChildprotected static Attribute<java.lang.String>scriptFormatAttribute-
Fields inherited from class org.camunda.bpm.model.bpmn.impl.instance.TaskImpl
camundaAsyncAttribute
-
Fields inherited from class org.camunda.bpm.model.bpmn.impl.instance.ActivityImpl
completionQuantityAttribute, dataInputAssociationCollection, dataOutputAssociationCollection, defaultAttribute, ioSpecificationChild, isForCompensationAttribute, loopCharacteristicsChild, propertyCollection, resourceRoleCollection, startQuantityAttribute
-
Fields inherited from class org.camunda.bpm.model.bpmn.impl.instance.FlowNodeImpl
camundaAsyncAfter, camundaAsyncBefore, camundaExclusive, camundaJobPriority, incomingCollection, outgoingCollection
-
Fields inherited from class org.camunda.bpm.model.bpmn.impl.instance.FlowElementImpl
auditingChild, categoryValueRefCollection, monitoringChild, nameAttribute
-
Fields inherited from class org.camunda.bpm.model.bpmn.impl.instance.BaseElementImpl
documentationCollection, extensionElementsChild, idAttribute
-
Fields inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
modelInstance
-
-
Constructor Summary
Constructors Constructor Description ScriptTaskImpl(ModelTypeInstanceContext context)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ScriptTaskBuilderbuilder()Returns a new fluent builder for the element if implemented.java.lang.StringgetCamundaResource()java.lang.StringgetCamundaResultVariable()camunda extensionsScriptgetScript()java.lang.StringgetScriptFormat()static voidregisterType(ModelBuilder modelBuilder)voidsetCamundaResource(java.lang.String camundaResource)voidsetCamundaResultVariable(java.lang.String camundaResultVariable)voidsetScript(Script script)voidsetScriptFormat(java.lang.String scriptFormat)-
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.TaskImpl
getDiagramElement, isCamundaAsync, setCamundaAsync
-
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.ActivityImpl
getCompletionQuantity, getDataInputAssociations, getDataOutputAssociations, getDefault, getIoSpecification, getLoopCharacteristics, getProperties, getResourceRoles, getStartQuantity, isForCompensation, setCompletionQuantity, setDefault, setForCompensation, setIoSpecification, setLoopCharacteristics, setStartQuantity
-
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.FlowNodeImpl
getCamundaJobPriority, getIncoming, getOutgoing, getPreviousNodes, getSucceedingNodes, isCamundaAsyncAfter, isCamundaAsyncBefore, isCamundaExclusive, setCamundaAsyncAfter, setCamundaAsyncBefore, setCamundaExclusive, setCamundaJobPriority, updateAfterReplacement
-
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.FlowElementImpl
getAuditing, getCategoryValueRefs, getMonitoring, getName, setAuditing, setMonitoring, setName
-
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.BaseElementImpl
getDocumentations, getExtensionElements, getId, getIncomingReferencesByType, setExtensionElements, setId
-
Methods inherited from class org.camunda.bpm.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 org.camunda.bpm.model.bpmn.instance.Activity
getCompletionQuantity, getDataInputAssociations, getDataOutputAssociations, getDefault, getIoSpecification, getLoopCharacteristics, getProperties, getResourceRoles, getStartQuantity, isForCompensation, setCompletionQuantity, setDefault, setForCompensation, setIoSpecification, setLoopCharacteristics, setStartQuantity
-
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.BaseElement
getDocumentations, getExtensionElements, getId, setExtensionElements, setId
-
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.BpmnModelElementInstance
getScope, isScope
-
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.FlowElement
getAuditing, getCategoryValueRefs, getMonitoring, getName, setAuditing, setMonitoring, setName
-
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.FlowNode
getCamundaJobPriority, getIncoming, getOutgoing, getPreviousNodes, getSucceedingNodes, isCamundaAsyncAfter, isCamundaAsyncBefore, isCamundaExclusive, setCamundaAsyncAfter, setCamundaAsyncBefore, setCamundaExclusive, setCamundaJobPriority
-
Methods inherited from interface org.camunda.bpm.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 org.camunda.bpm.model.bpmn.instance.Task
getDiagramElement, isCamundaAsync, setCamundaAsync
-
-
-
-
Field Detail
-
scriptFormatAttribute
protected static Attribute<java.lang.String> scriptFormatAttribute
-
scriptChild
protected static ChildElement<Script> scriptChild
-
camundaResultVariableAttribute
protected static Attribute<java.lang.String> camundaResultVariableAttribute
camunda extensions
-
camundaResourceAttribute
protected static Attribute<java.lang.String> camundaResourceAttribute
-
-
Constructor Detail
-
ScriptTaskImpl
public ScriptTaskImpl(ModelTypeInstanceContext context)
-
-
Method Detail
-
registerType
public static void registerType(ModelBuilder modelBuilder)
-
builder
public ScriptTaskBuilder builder()
Description copied from interface:BpmnModelElementInstanceReturns a new fluent builder for the element if implemented.- Specified by:
builderin interfaceBpmnModelElementInstance- Specified by:
builderin interfaceFlowNode- Specified by:
builderin interfaceScriptTask- Overrides:
builderin classTaskImpl- Returns:
- the builder object
-
getScriptFormat
public java.lang.String getScriptFormat()
- Specified by:
getScriptFormatin interfaceScriptTask
-
setScriptFormat
public void setScriptFormat(java.lang.String scriptFormat)
- Specified by:
setScriptFormatin interfaceScriptTask
-
getScript
public Script getScript()
- Specified by:
getScriptin interfaceScriptTask
-
setScript
public void setScript(Script script)
- Specified by:
setScriptin interfaceScriptTask
-
getCamundaResultVariable
public java.lang.String getCamundaResultVariable()
camunda extensions- Specified by:
getCamundaResultVariablein interfaceScriptTask
-
setCamundaResultVariable
public void setCamundaResultVariable(java.lang.String camundaResultVariable)
- Specified by:
setCamundaResultVariablein interfaceScriptTask
-
getCamundaResource
public java.lang.String getCamundaResource()
- Specified by:
getCamundaResourcein interfaceScriptTask
-
setCamundaResource
public void setCamundaResource(java.lang.String camundaResource)
- Specified by:
setCamundaResourcein interfaceScriptTask
-
-