Interface ZeebeScript

All Superinterfaces:
BpmnModelElementInstance, org.camunda.bpm.model.xml.instance.ModelElementInstance
All Known Implementing Classes:
ZeebeScriptImpl

public interface ZeebeScript extends BpmnModelElementInstance
Zeebe extension element for feel script. It can be used for script tasks.
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    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 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
  • Method Details

    • getExpression

      String getExpression()
      Returns:
      the feel script expression of the script task
    • setExpression

      void setExpression(String expression)
      Sets the feel script expression of the script task.
      Parameters:
      expression - the expression of the script task
    • getResultVariable

      String getResultVariable()
      Returns:
      the name of the result variable
    • setResultVariable

      void setResultVariable(String resultVariable)
      Sets the name of the result variable.
      Parameters:
      resultVariable - the name of the result variable