public class MethodCallBuilderImpl
extends jakarta.faces.flow.builder.MethodCallBuilder
| Constructor and Description |
|---|
MethodCallBuilderImpl(FlowBuilderImpl root,
String id) |
| Modifier and Type | Method and Description |
|---|---|
jakarta.faces.flow.builder.MethodCallBuilder |
defaultOutcome(String outcome)
If the method is a void method, or the method returns |
jakarta.faces.flow.builder.MethodCallBuilder |
defaultOutcome(jakarta.el.ValueExpression ve)
If the method is a void method, or the method returns |
jakarta.faces.flow.builder.MethodCallBuilder |
expression(jakarta.el.MethodExpression me)
Set the method expression of this method call node. |
jakarta.faces.flow.builder.MethodCallBuilder |
expression(String methodExpression)
Set the method expression of this method call node. |
jakarta.faces.flow.builder.MethodCallBuilder |
expression(String methodExpression,
Class[] paramTypes)
Set the method expression of this method call node. |
jakarta.faces.flow.builder.MethodCallBuilder |
markAsStartNode()
Mark this node as the start node in the flow. |
jakarta.faces.flow.builder.MethodCallBuilder |
parameters(List<jakarta.faces.flow.Parameter> parameters)
Set the parameters of the method call node. |
public MethodCallBuilderImpl(FlowBuilderImpl root, String id)
public jakarta.faces.flow.builder.MethodCallBuilder defaultOutcome(String outcome)
jakarta.faces.flow.builder.MethodCallBuilder
If the method is a void method, or the method returns null, this can be used to specify what value should be
passed to runtime when the method returns.
defaultOutcome in class jakarta.faces.flow.builder.MethodCallBuilderoutcome - A ValueExpression String representing the default outcome, only used if the method is a void
method or returns null.public jakarta.faces.flow.builder.MethodCallBuilder defaultOutcome(jakarta.el.ValueExpression ve)
jakarta.faces.flow.builder.MethodCallBuilder
If the method is a void method, or the method returns null, this can be used to specify what value should be
passed to runtime when the method returns.
defaultOutcome in class jakarta.faces.flow.builder.MethodCallBuilderve - A ValueExpression representing the default outcome, only used if the method is a void method
or returns null.public jakarta.faces.flow.builder.MethodCallBuilder expression(String methodExpression)
jakarta.faces.flow.builder.MethodCallBuilder
Set the method expression of this method call node. The method signature of the argument methodExpression
must match the number and type of the parameters passed in the MethodCallBuilder.parameters(java.util.List<jakarta.faces.flow.Parameter>) method.
expression in class jakarta.faces.flow.builder.MethodCallBuildermethodExpression - The MethodExpression String to invoke.public jakarta.faces.flow.builder.MethodCallBuilder expression(String methodExpression, Class[] paramTypes)
jakarta.faces.flow.builder.MethodCallBuilder
Set the method expression of this method call node. The method signature of the argument methodExpression
must match the number and type of the parameters passed in the MethodCallBuilder.parameters(java.util.List<jakarta.faces.flow.Parameter>) method.
expression in class jakarta.faces.flow.builder.MethodCallBuildermethodExpression - The MethodExpression to invoke.paramTypes - the types of the parameters to the method.public jakarta.faces.flow.builder.MethodCallBuilder parameters(List<jakarta.faces.flow.Parameter> parameters)
jakarta.faces.flow.builder.MethodCallBuilderSet the parameters of the method call node.
parameters in class jakarta.faces.flow.builder.MethodCallBuilderparameters - the parameters to pass to the method when it is invoked.public jakarta.faces.flow.builder.MethodCallBuilder expression(jakarta.el.MethodExpression me)
jakarta.faces.flow.builder.MethodCallBuilder
Set the method expression of this method call node. The method signature of the argument methodExpression
must match the number and type of the parameters passed in the MethodCallBuilder.parameters(java.util.List<jakarta.faces.flow.Parameter>) method.
expression in class jakarta.faces.flow.builder.MethodCallBuilderme - The MethodExpression to invoke.public jakarta.faces.flow.builder.MethodCallBuilder markAsStartNode()
jakarta.faces.flow.builder.NodeBuilderMark 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 jakarta.faces.flow.builder.NodeBuildermarkAsStartNode in class jakarta.faces.flow.builder.MethodCallBuilderCopyright © 2010–2022 JBoss by Red Hat. All rights reserved.