public abstract class NavigationCaseBuilder
extends java.lang.Object
Create a navigation case in the current Flow
.
Modifier and Type | Class and Description |
---|---|
class |
NavigationCaseBuilder.RedirectBuilder
Allows populating the redirect with parameters and setting the includeViewParams option. |
Constructor and Description |
---|
NavigationCaseBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract NavigationCaseBuilder |
condition(java.lang.String condition)
Set the if of the current navigation case. |
abstract NavigationCaseBuilder |
condition(ValueExpression condition)
Set the if of the current navigation case. |
abstract NavigationCaseBuilder |
fromAction(java.lang.String fromAction)
Set the from-action of the current navigation case. |
abstract NavigationCaseBuilder |
fromOutcome(java.lang.String fromOutcome)
Set the from-outcome of the current navigation case. |
abstract NavigationCaseBuilder |
fromViewId(java.lang.String fromViewId)
Set the from-view-id of the current navigation case. |
abstract NavigationCaseBuilder.RedirectBuilder |
redirect()
Create a redirect within this navigation case. |
abstract NavigationCaseBuilder |
toFlowDocumentId(java.lang.String toFlowDocumentId)
Set the to-flow-document-id of the current navigation case. |
abstract NavigationCaseBuilder |
toViewId(java.lang.String toViewId)
Set the to-view-id of the current navigation case. |
public abstract NavigationCaseBuilder fromViewId(java.lang.String fromViewId)
Set the from-view-id of the current navigation case.
fromViewId
- the from-view-idjava.lang.NullPointerException
- if any of the parameters are null
public abstract NavigationCaseBuilder fromAction(java.lang.String fromAction)
Set the from-action of the current navigation case.
fromAction
- the from-actionjava.lang.NullPointerException
- if any of the parameters are null
public abstract NavigationCaseBuilder fromOutcome(java.lang.String fromOutcome)
Set the from-outcome of the current navigation case.
fromOutcome
- the from-outcomejava.lang.NullPointerException
- if any of the parameters are null
public abstract NavigationCaseBuilder toViewId(java.lang.String toViewId)
Set the to-view-id of the current navigation case.
toViewId
- the to-view-idjava.lang.NullPointerException
- if any of the parameters are null
public abstract NavigationCaseBuilder toFlowDocumentId(java.lang.String toFlowDocumentId)
Set the to-flow-document-id of the current navigation case.
toFlowDocumentId
- the to-flow-document-idjava.lang.NullPointerException
- if any of the parameters are null
public abstract NavigationCaseBuilder condition(java.lang.String condition)
Set the if of the current navigation case.
condition
- the <if>java.lang.NullPointerException
- if any of the parameters are null
public abstract NavigationCaseBuilder condition(ValueExpression condition)
Set the if of the current navigation case.
condition
- the <if>java.lang.NullPointerException
- if any of the parameters are null
public abstract NavigationCaseBuilder.RedirectBuilder redirect()
Create a redirect within this navigation case.