public abstract class FlowCallBuilder extends java.lang.Object implements NodeBuilder
Create a flow call node in the current Flow
.
Constructor and Description |
---|
FlowCallBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract FlowCallBuilder |
flowReference(java.lang.String flowDocumentId,
java.lang.String flowId)
Define the flow reference of the called flow. |
abstract FlowCallBuilder |
markAsStartNode()
Mark this node as the start node in the flow. |
abstract FlowCallBuilder |
outboundParameter(java.lang.String name,
java.lang.String value)
Define an outbound parameter for the flow call. |
abstract FlowCallBuilder |
outboundParameter(java.lang.String name,
ValueExpression value)
Define an outbound parameter for the flow call. |
public abstract FlowCallBuilder flowReference(java.lang.String flowDocumentId, java.lang.String flowId)
Define the flow reference of the called flow.
flowDocumentId
- the document id of the called flow. May not be null
,
but may be the empty string.flowId
- the id of the called flow. May not be null
java.lang.NullPointerException
- if any of the parameters are null
public abstract FlowCallBuilder outboundParameter(java.lang.String name, ValueExpression value)
Define an outbound parameter for the flow call.
name
- the name of the parametervalue
- the value of the parameterjava.lang.NullPointerException
- if any of the parameters are null
public abstract FlowCallBuilder outboundParameter(java.lang.String name, java.lang.String value)
Define an outbound parameter for the flow call.
name
- the name of the parametervalue
- the value of the parameterjava.lang.NullPointerException
- if any of the parameters are null
public abstract FlowCallBuilder markAsStartNode()
NodeBuilder
Mark this node as the start node in the flow. Any other node that had been marked as the start node will no longer be the start node.
markAsStartNode
in interface NodeBuilder