public class EventNavigationResult extends Object
EventNavigationResult is the type of object that can be returned from a
BrdigeEventHandler.handleEvent call. When it is returned (non-null) it conveys the Faces navigation
information to the bridge that it needs to utilize the Faces NavigationHandler to evaluate the
navigation according to the configured rules. The fromAction corresponds to the fromAction
string in the faces-config.xml navigation rule. The outcome corresponds to the outcome
string in the navigation rule.| Constructor and Description |
|---|
EventNavigationResult() |
EventNavigationResult(String fromAction,
String outcome) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getFromAction()
Gets the fromAction stored in this object.
|
String |
getOutcome()
Gets the outcome stored in this object.
|
int |
hashCode() |
void |
setFromAction(String fromAction)
Sets the fromAction for this object.
|
void |
setOutcome(String outcome)
Sets the fromAction for this object.
|
public String getFromAction()
fromAction corresponds to the fromAction
string in the faces-config.xml navigation rule.String containing the fromActionpublic void setFromAction(String fromAction)
fromAction corresponds to the fromAction
string in the faces-config.xml navigation rule.action - new fromActionpublic String getOutcome()
outcome corresponds to the outcome string
in the faces-config.xml navigation rule.String containing the fromActionpublic void setOutcome(String outcome)
fromAction corresponds to the fromAction
string in the faces-config.xml navigation rule.outcome - new outcomeCopyright © 2015 JBoss by Red Hat. All rights reserved.