Package org.flowable.bpmn.model
Class ScriptTask
-
- All Implemented Interfaces:
HasExecutionListeners,HasExtensionAttributes
public class ScriptTask extends Task
- Author:
- Tijs Rademakers, Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanautoStoreVariablesprotected StringresultVariableprotected Stringscriptprotected StringscriptFormatprotected StringskipExpression-
Fields inherited from class org.flowable.bpmn.model.Activity
boundaryEvents, dataInputAssociations, dataOutputAssociations, defaultFlow, failedJobRetryTimeCycleValue, forCompensation, ioSpecification, loopCharacteristics, mapExceptions
-
Fields inherited from class org.flowable.bpmn.model.FlowNode
asynchronous, asynchronousLeave, asynchronousLeaveNotExclusive, behavior, incomingFlows, notExclusive, outgoingFlows
-
Fields inherited from class org.flowable.bpmn.model.FlowElement
documentation, executionListeners, name, parentContainer
-
Fields inherited from class org.flowable.bpmn.model.BaseElement
attributes, extensionElements, id, xmlColumnNumber, xmlRowNumber
-
-
Constructor Summary
Constructors Constructor Description ScriptTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScriptTaskclone()StringgetResultVariable()StringgetScript()StringgetScriptFormat()StringgetSkipExpression()booleanisAutoStoreVariables()voidsetAutoStoreVariables(boolean autoStoreVariables)voidsetResultVariable(String resultVariable)voidsetScript(String script)voidsetScriptFormat(String scriptFormat)voidsetSkipExpression(String skipExpression)voidsetValues(ScriptTask otherElement)-
Methods inherited from class org.flowable.bpmn.model.Activity
getBoundaryEvents, getDataInputAssociations, getDataOutputAssociations, getDefaultFlow, getFailedJobRetryTimeCycleValue, getIoSpecification, getLoopCharacteristics, getMapExceptions, hasMultiInstanceLoopCharacteristics, isForCompensation, setBoundaryEvents, setDataInputAssociations, setDataOutputAssociations, setDefaultFlow, setFailedJobRetryTimeCycleValue, setForCompensation, setIoSpecification, setLoopCharacteristics, setMapExceptions, setValues
-
Methods inherited from class org.flowable.bpmn.model.FlowNode
getBehavior, getIncomingFlows, getOutgoingFlows, isAsynchronous, isAsynchronousLeave, isAsynchronousLeaveExclusive, isAsynchronousLeaveNotExclusive, isExclusive, isNotExclusive, setAsynchronous, setAsynchronousLeave, setAsynchronousLeaveExclusive, setAsynchronousLeaveNotExclusive, setBehavior, setExclusive, setIncomingFlows, setNotExclusive, setOutgoingFlows, setValues
-
Methods inherited from class org.flowable.bpmn.model.FlowElement
getDocumentation, getExecutionListeners, getName, getParentContainer, getSubProcess, setDocumentation, setExecutionListeners, setName, setParentContainer, setValues
-
Methods inherited from class org.flowable.bpmn.model.BaseElement
addAttribute, addExtensionElement, getAttributes, getAttributeValue, getExtensionElements, getId, getXmlColumnNumber, getXmlRowNumber, setAttributes, setExtensionElements, setId, setValues, setXmlColumnNumber, setXmlRowNumber
-
-
-
-
Method Detail
-
getScriptFormat
public String getScriptFormat()
-
setScriptFormat
public void setScriptFormat(String scriptFormat)
-
getScript
public String getScript()
-
setScript
public void setScript(String script)
-
getResultVariable
public String getResultVariable()
-
setResultVariable
public void setResultVariable(String resultVariable)
-
getSkipExpression
public String getSkipExpression()
-
setSkipExpression
public void setSkipExpression(String skipExpression)
-
isAutoStoreVariables
public boolean isAutoStoreVariables()
-
setAutoStoreVariables
public void setAutoStoreVariables(boolean autoStoreVariables)
-
clone
public ScriptTask clone()
- Specified by:
clonein classFlowElement
-
setValues
public void setValues(ScriptTask otherElement)
-
-