Class ScriptTaskHandler
java.lang.Object
io.automatiko.engine.workflow.compiler.xml.BaseAbstractHandler
io.automatiko.engine.workflow.bpmn2.xml.AbstractNodeHandler
io.automatiko.engine.workflow.bpmn2.xml.ScriptTaskHandler
- All Implemented Interfaces:
io.automatiko.engine.workflow.compiler.xml.Handler
-
Field Summary
Fields inherited from class io.automatiko.engine.workflow.bpmn2.xml.AbstractNodeHandler
dataInputs, dataInputTypes, dataOutputs, dataOutputTypes, EOL, EVENT_TYPE, INPUT_TYPES, inputAssociation, logger, OUTPUT_TYPES, outputAssociationFields inherited from class io.automatiko.engine.workflow.compiler.xml.BaseAbstractHandler
allowNesting, validParents, validPeers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidadjustNodeConfiguration(io.automatiko.engine.workflow.process.core.Node orignalNode, io.automatiko.engine.workflow.process.core.node.ForEachNode forEachNode) protected io.automatiko.engine.workflow.process.core.NodecreateNode(Attributes attrs) end(String uri, String localName, io.automatiko.engine.workflow.compiler.xml.ExtensibleXmlParser parser) protected voidhandleForEachNode(io.automatiko.engine.workflow.process.core.Node node, Element element, String uri, String localName, io.automatiko.engine.workflow.compiler.xml.ExtensibleXmlParser parser) protected voidhandleNode(io.automatiko.engine.workflow.process.core.Node node, Element element, String uri, String localName, io.automatiko.engine.workflow.compiler.xml.ExtensibleXmlParser parser) protected voidreadDataInputAssociation(Node xmlNode, io.automatiko.engine.workflow.process.core.node.ActionNode actionNode, Map<String, String> dataInputs) protected voidreadDataOutputAssociation(Node xmlNode, io.automatiko.engine.workflow.process.core.node.ActionNode actionNode, Map<String, String> dataOutputs) static voidregisterSupportedScriptFormat(String language, String dialect) voidwriteNode(io.automatiko.engine.workflow.process.core.Node node, StringBuilder xmlDump, int metaDataType) Methods inherited from class io.automatiko.engine.workflow.bpmn2.xml.AbstractNodeHandler
checkSignalAndConvertToRealSignalNam, containsExtensionElements, endNode, endNode, extractScript, findSignalByName, findVariable, getDataType, getErrorIdForErrorCode, getMetaData, handleScript, handleThrowCompensationEventNode, initValidParents, initValidPeers, readDataInputAssociation, readDataOutputAssociation, readIoSpecification, readMultiInstanceLoopCharacteristics, retrieveDataType, start, writeExtensionElements, writeMetaData, writeNode, writeScript, writeScripts, writeVariableNameMethods inherited from class io.automatiko.engine.workflow.compiler.xml.BaseAbstractHandler
allowNesting, emptyAttributeCheck, emptyContentCheck, getValidParents, getValidPeersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.automatiko.engine.workflow.compiler.xml.Handler
allowNesting, getValidParents, getValidPeers
-
Constructor Details
-
ScriptTaskHandler
public ScriptTaskHandler()
-
-
Method Details
-
registerSupportedScriptFormat
-
createNode
- Specified by:
createNodein classAbstractNodeHandler
-
generateNodeFor
-
handleNode
protected void handleNode(io.automatiko.engine.workflow.process.core.Node node, Element element, String uri, String localName, io.automatiko.engine.workflow.compiler.xml.ExtensibleXmlParser parser) throws SAXException - Overrides:
handleNodein classAbstractNodeHandler- Throws:
SAXException
-
end
public Object end(String uri, String localName, io.automatiko.engine.workflow.compiler.xml.ExtensibleXmlParser parser) throws SAXException - Specified by:
endin interfaceio.automatiko.engine.workflow.compiler.xml.Handler- Overrides:
endin classAbstractNodeHandler- Throws:
SAXException
-
writeNode
public void writeNode(io.automatiko.engine.workflow.process.core.Node node, StringBuilder xmlDump, int metaDataType) - Specified by:
writeNodein classAbstractNodeHandler
-
readDataInputAssociation
-
readDataOutputAssociation
-
adjustNodeConfiguration
protected void adjustNodeConfiguration(io.automatiko.engine.workflow.process.core.Node orignalNode, io.automatiko.engine.workflow.process.core.node.ForEachNode forEachNode) -
handleForEachNode
-