Interface ZeebeScript
- All Superinterfaces:
BpmnModelElementInstance,org.camunda.bpm.model.xml.instance.ModelElementInstance
- All Known Implementing Classes:
ZeebeScriptImpl
Zeebe extension element for feel script. It can be used for script tasks.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetExpression(String expression) Sets the feel script expression of the script task.voidsetResultVariable(String resultVariable) Sets the name of the result variable.Methods inherited from interface io.camunda.zeebe.model.bpmn.instance.BpmnModelElementInstance
builder, getScope, isScopeMethods 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
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
Sets the name of the result variable.- Parameters:
resultVariable- the name of the result variable
-