Package com.axelor.meta.schema.workflows
Class BoundaryNode
java.lang.Object
com.axelor.meta.schema.workflows.AbstractWorkflowNode
com.axelor.meta.schema.workflows.AbstractEventNode
com.axelor.meta.schema.workflows.BoundaryNode
- All Implemented Interfaces:
WorkflowNode
A way out of the node named by
host that the host's own trigger may never provide, such
as "escalate after 7 days". While the host is parked the boundary races its trigger; firing first
withdraws the park and continues from next. With cancel="false" the park stays
and next starts a separate walk beside it.
The trigger is a timer (delay + unit, or until), a condition (
when), a message with a key, a signal, or on="error" with an
optional code. An error boundary sits on a node that runs something and is consulted
where its failure is raised: with a code it catches only a declared failure of that name, without
one any failure at all. Boundaries on one host are tried in declaration order.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancancels()getCancel(), with the default resolved: absent reads astrue.getCode()getHost()voidvoidvoidvoidsetRepeatCount(Integer repeatCount) type()The element name (start,script, ...), matching the@JsonSubTypesnames.Methods inherited from class com.axelor.meta.schema.workflows.AbstractEventNode
correlation, getDelay, getKey, getMessage, getNext, getOn, getSignal, getUnit, getUntil, getWhen, kind, setDelay, setKey, setMessage, setNext, setOn, setSignal, setUnit, setUntil, setWhenMethods inherited from class com.axelor.meta.schema.workflows.AbstractWorkflowNode
getDescription, getId, getTitle, setDescription, setId, setTitle
-
Constructor Details
-
BoundaryNode
public BoundaryNode()
-
-
Method Details
-
type
Description copied from interface:WorkflowNodeThe element name (start,script, ...), matching the@JsonSubTypesnames. NotgetType(), so bean scanning ignores it. -
getHost
-
setHost
-
getCode
-
setCode
-
getCancel
-
setCancel
-
getRepeatCount
-
setRepeatCount
-
cancels
public boolean cancels()getCancel(), with the default resolved: absent reads astrue.
-