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
public class ScriptTaskHandler extends AbstractNodeHandler
-
-
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, outputAssociation
-
-
Constructor Summary
Constructors Constructor Description ScriptTaskHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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)Objectend(String uri, String localName, io.automatiko.engine.workflow.compiler.xml.ExtensibleXmlParser parser)ClassgenerateNodeFor()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, writeVariableName
-
Methods inherited from class io.automatiko.engine.workflow.compiler.xml.BaseAbstractHandler
allowNesting, emptyAttributeCheck, emptyContentCheck, getValidParents, getValidPeers
-
-
-
-
Method Detail
-
registerSupportedScriptFormat
public static void registerSupportedScriptFormat(String language, String dialect)
-
createNode
protected io.automatiko.engine.workflow.process.core.Node createNode(Attributes attrs)
- Specified by:
createNodein classAbstractNodeHandler
-
generateNodeFor
public Class 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
protected void readDataInputAssociation(Node xmlNode, io.automatiko.engine.workflow.process.core.node.ActionNode actionNode, Map<String,String> dataInputs)
-
readDataOutputAssociation
protected void readDataOutputAssociation(Node xmlNode, io.automatiko.engine.workflow.process.core.node.ActionNode actionNode, Map<String,String> dataOutputs)
-
adjustNodeConfiguration
protected void adjustNodeConfiguration(io.automatiko.engine.workflow.process.core.Node orignalNode, io.automatiko.engine.workflow.process.core.node.ForEachNode forEachNode)
-
-