Class ZeebeScriptImpl

java.lang.Object
org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
io.camunda.zeebe.model.bpmn.impl.instance.BpmnModelElementInstanceImpl
io.camunda.zeebe.model.bpmn.impl.instance.zeebe.ZeebeScriptImpl
All Implemented Interfaces:
BpmnModelElementInstance, ZeebeScript, org.camunda.bpm.model.xml.instance.ModelElementInstance

public class ZeebeScriptImpl extends BpmnModelElementInstanceImpl implements ZeebeScript
  • Field Summary

    Fields inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl

    modelInstance
  • Constructor Summary

    Constructors
    Constructor
    Description
    ZeebeScriptImpl(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext instanceContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    static void
    registerType(org.camunda.bpm.model.xml.ModelBuilder modelBuilder)
     
    void
    setExpression(String expression)
    Sets the feel script expression of the script task.
    void
    setResultVariable(String resultVariable)
    Sets the name of the result variable.

    Methods inherited from class io.camunda.zeebe.model.bpmn.impl.instance.BpmnModelElementInstanceImpl

    builder, 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, updateAfterReplacement

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.camunda.zeebe.model.bpmn.instance.BpmnModelElementInstance

    builder, 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
  • Constructor Details

    • ZeebeScriptImpl

      public ZeebeScriptImpl(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext instanceContext)
  • Method Details

    • registerType

      public static void registerType(org.camunda.bpm.model.xml.ModelBuilder modelBuilder)
    • getExpression

      public String getExpression()
      Specified by:
      getExpression in interface ZeebeScript
      Returns:
      the feel script expression of the script task
    • setExpression

      public void setExpression(String expression)
      Description copied from interface: ZeebeScript
      Sets the feel script expression of the script task.
      Specified by:
      setExpression in interface ZeebeScript
      Parameters:
      expression - the expression of the script task
    • getResultVariable

      public String getResultVariable()
      Specified by:
      getResultVariable in interface ZeebeScript
      Returns:
      the name of the result variable
    • setResultVariable

      public void setResultVariable(String resultVariable)
      Description copied from interface: ZeebeScript
      Sets the name of the result variable.
      Specified by:
      setResultVariable in interface ZeebeScript
      Parameters:
      resultVariable - the name of the result variable