public static final class ShadowingOptions.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
ShadowingOptions |
build() |
ShadowingOptions.Builder |
setConcurrency(int concurrency)
Optional: the concurrent number of replay execution
|
ShadowingOptions.Builder |
setDomain(java.lang.String domain)
The domain to start workflow shadowing.
|
ShadowingOptions.Builder |
setExitCondition(ExitCondition exitCondition)
Optional: the exit condition is to define the shadowing exit condition.
|
ShadowingOptions.Builder |
setShadowMode(Mode mode)
The domain to start workflow shadowing.
|
ShadowingOptions.Builder |
setWorkflowQuery(java.lang.String workflowQuery)
Optional: The workflow query is to filter the shadowed workflows with advanced query.
|
ShadowingOptions.Builder |
setWorkflowSamplingRate(double samplingRate)
Optional: The sampling rate is to define sampling rate of the shadowed workflows.
|
ShadowingOptions.Builder |
setWorkflowStartTimeFilter(TimeFilter workflowStartTimeFilter)
Optional: The workflow start time filter is to filter the shadowed workflows by workflow
start time.
|
ShadowingOptions.Builder |
setWorkflowStatuses(java.util.Collection<WorkflowStatus> workflowStatuses)
The workflow closed statuses is to filter the shadowed workflows by workflow status.
|
ShadowingOptions.Builder |
setWorkflowTypes(java.util.Collection<java.lang.String> workflowTypes)
Optional: The workflow types is to filter the workflows to be shadowed by workflow types.
|
public ShadowingOptions.Builder setDomain(java.lang.String domain)
public ShadowingOptions.Builder setShadowMode(Mode mode)
public ShadowingOptions.Builder setWorkflowQuery(java.lang.String workflowQuery)
public ShadowingOptions.Builder setWorkflowTypes(java.util.Collection<java.lang.String> workflowTypes)
public ShadowingOptions.Builder setWorkflowStartTimeFilter(TimeFilter workflowStartTimeFilter)
public ShadowingOptions.Builder setWorkflowStatuses(java.util.Collection<WorkflowStatus> workflowStatuses)
public ShadowingOptions.Builder setWorkflowSamplingRate(double samplingRate)
public ShadowingOptions.Builder setExitCondition(ExitCondition exitCondition)
public ShadowingOptions.Builder setConcurrency(int concurrency)
public ShadowingOptions build()