public class FacesConfigFlowDefinitionFacesMethodCall extends Object
Invoke a method, passing parameters if necessary. The return from the method is used as the outcome for where to go next in the flow. If the method is a void method, the default outcome is used.
Java class for faces-config-flow-definition-faces-method-callType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="faces-config-flow-definition-faces-method-callType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="method" type="{http://xmlns.jcp.org/xml/ns/javaee}faces-config-flow-definition-faces-method-call-methodType"/>
<element name="default-outcome" type="{http://xmlns.jcp.org/xml/ns/javaee}string"/>
<element name="parameter" type="{http://xmlns.jcp.org/xml/ns/javaee}faces-config-flow-definition-flow-call-parameterType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
defaultOutcome |
protected FacesConfigFlowDefinitionFacesMethodCallMethod |
method |
protected List<FacesConfigFlowDefinitionFlowCallParameter> |
parameter |
| Constructor and Description |
|---|
FacesConfigFlowDefinitionFacesMethodCall() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultOutcome()
Gets the value of the defaultOutcome property.
|
FacesConfigFlowDefinitionFacesMethodCallMethod |
getMethod()
Gets the value of the method property.
|
List<FacesConfigFlowDefinitionFlowCallParameter> |
getParameter()
Gets the value of the parameter property.
|
void |
setDefaultOutcome(String value)
Sets the value of the defaultOutcome property.
|
void |
setMethod(FacesConfigFlowDefinitionFacesMethodCallMethod value)
Sets the value of the method property.
|
protected FacesConfigFlowDefinitionFacesMethodCallMethod method
protected String defaultOutcome
protected List<FacesConfigFlowDefinitionFlowCallParameter> parameter
public FacesConfigFlowDefinitionFacesMethodCall()
public FacesConfigFlowDefinitionFacesMethodCallMethod getMethod()
FacesConfigFlowDefinitionFacesMethodCallMethodpublic void setMethod(FacesConfigFlowDefinitionFacesMethodCallMethod value)
value - allowed object is
FacesConfigFlowDefinitionFacesMethodCallMethodpublic String getDefaultOutcome()
Stringpublic void setDefaultOutcome(String value)
value - allowed object is
Stringpublic List<FacesConfigFlowDefinitionFlowCallParameter> getParameter()
set method for the parameter property.
For example, to add a new item, do as follows:
getParameter().add(newItem);
Objects of the following type(s) are allowed in the list
FacesConfigFlowDefinitionFlowCallParameterCopyright © 1999–2020 The Apache Software Foundation. All rights reserved.