public abstract class FlowCallBuilder extends 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(String flowDocumentId,
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(String name,
String value)
Define an outbound parameter for the flow call. |
abstract FlowCallBuilder |
outboundParameter(String name,
ValueExpression value)
Define an outbound parameter for the flow call. |
public abstract FlowCallBuilder flowReference(String flowDocumentId, 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
NullPointerException
- if any of the parameters are null
public abstract FlowCallBuilder outboundParameter(String name, ValueExpression value)
Define an outbound parameter for the flow call.
name
- the name of the parametervalue
- the value of the parameterNullPointerException
- if any of the parameters are null
public abstract FlowCallBuilder outboundParameter(String name, String value)
Define an outbound parameter for the flow call.
name
- the name of the parametervalue
- the value of the parameterNullPointerException
- 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
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.