public static final class WorkflowImplementationOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WorkflowImplementationOptions |
build() |
WorkflowImplementationOptions.Builder |
setWorkflowErrorPolicy(WorkflowErrorPolicy workflowErrorPolicy)
Optional: Sets how decision worker deals with Error thrown from the workflow code which
include non-deterministic history events (presumably arising from non-deterministic workflow
definitions or non-backward compatible workflow definition changes).
|
public WorkflowImplementationOptions.Builder setWorkflowErrorPolicy(WorkflowErrorPolicy workflowErrorPolicy)
default: BlockWorkflow which lets fixing the problem (frequently by rollback) without failing open workflows.
public WorkflowImplementationOptions build()