org.camunda.bpm.model.bpmn.impl.instance
Class ScriptTaskImpl

java.lang.Object
  extended by org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
      extended by org.camunda.bpm.model.bpmn.impl.instance.BpmnModelElementInstanceImpl
          extended by org.camunda.bpm.model.bpmn.impl.instance.BaseElementImpl
              extended by org.camunda.bpm.model.bpmn.impl.instance.FlowElementImpl
                  extended by org.camunda.bpm.model.bpmn.impl.instance.FlowNodeImpl
                      extended by org.camunda.bpm.model.bpmn.impl.instance.ActivityImpl
                          extended by org.camunda.bpm.model.bpmn.impl.instance.TaskImpl
                              extended by org.camunda.bpm.model.bpmn.impl.instance.ScriptTaskImpl
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
protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String> camundaResourceAttribute
           
protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String> camundaResultVariableAttribute
          camunda extensions
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 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
ScriptTaskImpl(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext context)
           
 
Method Summary
 ScriptTaskBuilder builder()
          Returns a new fluent builder for the element if implemented.
 String getCamundaResource()
           
 String getCamundaResultVariable()
          camunda extensions
 Script getScript()
           
 String getScriptFormat()
           
static void registerType(org.camunda.bpm.model.xml.ModelBuilder modelBuilder)
           
 void setCamundaResource(String camundaResource)
           
 void setCamundaResultVariable(String camundaResultVariable)
           
 void setScript(Script script)
           
 void setScriptFormat(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.Task
getDiagramElement, isCamundaAsync, setCamundaAsync
 
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.FlowNode
getCamundaJobPriority, getIncoming, getOutgoing, getPreviousNodes, getSucceedingNodes, isCamundaAsyncAfter, isCamundaAsyncBefore, isCamundaExclusive, setCamundaAsyncAfter, setCamundaAsyncBefore, setCamundaExclusive, setCamundaJobPriority
 
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.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.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.InteractionNode
getId, setId
 

Field Detail

scriptFormatAttribute

protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String> scriptFormatAttribute

scriptChild

protected static org.camunda.bpm.model.xml.type.child.ChildElement<Script> scriptChild

camundaResultVariableAttribute

protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String> camundaResultVariableAttribute
camunda extensions


camundaResourceAttribute

protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String> camundaResourceAttribute
Constructor Detail

ScriptTaskImpl

public ScriptTaskImpl(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext context)
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 interface BpmnModelElementInstance
Specified by:
builder in interface FlowNode
Specified by:
builder in interface ScriptTask
Overrides:
builder in class TaskImpl
Returns:
the builder object

getScriptFormat

public String getScriptFormat()
Specified by:
getScriptFormat in interface ScriptTask

setScriptFormat

public void setScriptFormat(String scriptFormat)
Specified by:
setScriptFormat in interface ScriptTask

getScript

public Script getScript()
Specified by:
getScript in interface ScriptTask

setScript

public void setScript(Script script)
Specified by:
setScript in interface ScriptTask

getCamundaResultVariable

public String getCamundaResultVariable()
camunda extensions

Specified by:
getCamundaResultVariable in interface ScriptTask

setCamundaResultVariable

public void setCamundaResultVariable(String camundaResultVariable)
Specified by:
setCamundaResultVariable in interface ScriptTask

getCamundaResource

public String getCamundaResource()
Specified by:
getCamundaResource in interface ScriptTask

setCamundaResource

public void setCamundaResource(String camundaResource)
Specified by:
setCamundaResource in interface ScriptTask


Copyright © 2017 camunda services GmbH. All rights reserved.