Package com.mendix.workflows
Interface JumpToBuilder
public interface JumpToBuilder
Configures the build to have the specified source activity jump to the specified target activity.
The source activities can be found from the list of activities returned by the
JumpToOptions.getCurrentActivities()
method and
the target activity that can be chosen from the list of activities returned
by the JumpableWorkflowActivity.getApplicableTargets()
.-
Method Summary
Modifier and TypeMethodDescriptionApplies the desired jump-to operations to the workflow instance.jumpActivityTo
(JumpableWorkflowActivity activityToChange, WorkflowActivityDetails target) Adds given source and target activity to the internal list.
-
Method Details
-
jumpActivityTo
JumpToBuilder jumpActivityTo(JumpableWorkflowActivity activityToChange, WorkflowActivityDetails target) Adds given source and target activity to the internal list. This method will not validate that, theapplyJumpTo()
method will validate the configured source-target combinations.
Note that not all activities specified in the collection ofJumpToOptions.getCurrentActivities()
have to have a jump target defined.- Parameters:
activityToChange
- source current activity to jump fromtarget
- target activity to jump- Returns:
- the new builder that includes added jump-to activity
-
applyJumpTo
Workflow applyJumpTo()Applies the desired jump-to operations to the workflow instance.- Returns:
- the updated workflow
-