Package com.sun.faces.flow.builder
Class NavigationCaseBuilderImpl
- java.lang.Object
-
- jakarta.faces.flow.builder.NavigationCaseBuilder
-
- com.sun.faces.flow.builder.NavigationCaseBuilderImpl
-
public class NavigationCaseBuilderImpl extends NavigationCaseBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jakarta.faces.flow.builder.NavigationCaseBuilder
NavigationCaseBuilder.RedirectBuilder
-
-
Constructor Summary
Constructors Constructor Description NavigationCaseBuilderImpl(FlowBuilderImpl root)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NavigationCaseBuilder
condition(jakarta.el.ValueExpression condition)
Set the if of the current navigation case.NavigationCaseBuilder
condition(String condition)
Set the if of the current navigation case.NavigationCaseBuilder
fromAction(String fromAction)
Set the from-action of the current navigation case.NavigationCaseBuilder
fromOutcome(String fromOutcome)
Set the from-outcome of the current navigation case.NavigationCaseBuilder
fromViewId(String fromViewId)
Set the from-view-id of the current navigation case.NavigationCaseBuilder.RedirectBuilder
redirect()
Create a redirect within this navigation case.NavigationCaseBuilder
toFlowDocumentId(String toFlowDocumentId)
Set the to-flow-document-id of the current navigation case.NavigationCaseBuilder
toViewId(String toViewId)
Set the to-view-id of the current navigation case.
-
-
-
Constructor Detail
-
NavigationCaseBuilderImpl
public NavigationCaseBuilderImpl(FlowBuilderImpl root)
-
-
Method Detail
-
toFlowDocumentId
public NavigationCaseBuilder toFlowDocumentId(String toFlowDocumentId)
Description copied from class:NavigationCaseBuilder
Set the to-flow-document-id of the current navigation case.
- Specified by:
toFlowDocumentId
in classNavigationCaseBuilder
- Parameters:
toFlowDocumentId
- the to-flow-document-id- Returns:
- the builder instance
-
fromAction
public NavigationCaseBuilder fromAction(String fromAction)
Description copied from class:NavigationCaseBuilder
Set the from-action of the current navigation case.
- Specified by:
fromAction
in classNavigationCaseBuilder
- Parameters:
fromAction
- the from-action- Returns:
- the builder instance
-
fromOutcome
public NavigationCaseBuilder fromOutcome(String fromOutcome)
Description copied from class:NavigationCaseBuilder
Set the from-outcome of the current navigation case.
- Specified by:
fromOutcome
in classNavigationCaseBuilder
- Parameters:
fromOutcome
- the from-outcome- Returns:
- the builder instance
-
fromViewId
public NavigationCaseBuilder fromViewId(String fromViewId)
Description copied from class:NavigationCaseBuilder
Set the from-view-id of the current navigation case.
- Specified by:
fromViewId
in classNavigationCaseBuilder
- Parameters:
fromViewId
- the from-view-id- Returns:
- the builder instance
-
toViewId
public NavigationCaseBuilder toViewId(String toViewId)
Description copied from class:NavigationCaseBuilder
Set the to-view-id of the current navigation case.
- Specified by:
toViewId
in classNavigationCaseBuilder
- Parameters:
toViewId
- the to-view-id- Returns:
- the builder instance
-
condition
public NavigationCaseBuilder condition(String condition)
Description copied from class:NavigationCaseBuilder
Set the if of the current navigation case.
- Specified by:
condition
in classNavigationCaseBuilder
- Parameters:
condition
- the <if>- Returns:
- the builder instance
-
condition
public NavigationCaseBuilder condition(jakarta.el.ValueExpression condition)
Description copied from class:NavigationCaseBuilder
Set the if of the current navigation case.
- Specified by:
condition
in classNavigationCaseBuilder
- Parameters:
condition
- the <if>- Returns:
- the builder instance
-
redirect
public NavigationCaseBuilder.RedirectBuilder redirect()
Description copied from class:NavigationCaseBuilder
Create a redirect within this navigation case.
- Specified by:
redirect
in classNavigationCaseBuilder
- Returns:
- the builder instance
-
-