Package jakarta.faces.flow
Class MethodCallNode
- java.lang.Object
-
- jakarta.faces.flow.FlowNode
-
- jakarta.faces.flow.MethodCallNode
-
public abstract class MethodCallNode extends FlowNode
Represents a method call node in the flow graph. When control passes to a method call node, its
MethodExpressionis invoked, passing any parameters. Let outcome be the value determined by the following algorithm. If there is anullreturn from the invocation,getOutcome()is called. If the result is non-null, itsgetValue()method is called and the value is considered to be outcome. If there is a non-nullreturn, let it be outcome. Convert outcome to a String by calling itstoStringmethod. Use outcome to determine the next node in the flow graph.- Since:
- 2.2
-
-
Constructor Summary
Constructors Constructor Description MethodCallNode()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract MethodExpressiongetMethodExpression()Return theMethodExpressionto be invoked to when control passes to this node.abstract ValueExpressiongetOutcome()Return theoutcometo be used in the event of anullreturn from the method.abstract List<Parameter>getParameters()Return the parameters to be passed to the method.
-
-
-
Method Detail
-
getMethodExpression
public abstract MethodExpression getMethodExpression()
Return the
MethodExpressionto be invoked to when control passes to this node.- Returns:
- the
MethodExpressionto be invoked to when control passes to this node - Since:
- 2.2
-
getOutcome
public abstract ValueExpression getOutcome()
Return the
outcometo be used in the event of anullreturn from the method.- Returns:
- the
outcome - Since:
- 2.2
-
-