Package com.axelor.meta.schema.workflows
Class ScriptNode
java.lang.Object
com.axelor.meta.schema.workflows.ScriptNode
- All Implemented Interfaces:
WorkflowNode
Runs its script body (the element text), then continues to
next. It declares its own
id, title, description and next, since MOXy refuses
@XmlValue on a subclass of a bound class.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAsync()getId()getNext()getTitle()What the author called it, and what they said about it.booleangetAsync(), with the default resolved: absent reads asfalse.voidvoidsetDescription(String description) voidvoidvoidvoidtype()The element name (start,script, ...), matching the@JsonSubTypesnames.
-
Constructor Details
-
ScriptNode
public ScriptNode()
-
-
Method Details
-
type
Description copied from interface:WorkflowNodeThe element name (start,script, ...), matching the@JsonSubTypesnames. NotgetType(), so bean scanning ignores it.- Specified by:
typein interfaceWorkflowNode
-
getId
- Specified by:
getIdin interfaceWorkflowNode
-
setId
-
getNext
-
setNext
-
getTitle
Description copied from interface:WorkflowNodeWhat the author called it, and what they said about it.- Specified by:
getTitlein interfaceWorkflowNode
-
setTitle
-
getDescription
- Specified by:
getDescriptionin interfaceWorkflowNode
-
setDescription
-
getScript
-
setScript
-
getAsync
-
setAsync
-
runsAsync
public boolean runsAsync()getAsync(), with the default resolved: absent reads asfalse.
-