Package io.littlehorse.sdk.wfsdk
Interface TaskNodeOutput
-
- All Superinterfaces:
NodeOutput
public interface TaskNodeOutput extends NodeOutput
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TaskNodeOutputwithExponentialBackoff(io.littlehorse.sdk.common.proto.ExponentialBackoffRetryPolicy policy)Overrides defaults from the Workflow or WorkflowThread and configures an Exponential Backoff Retry Policy for this TaskNode.TaskNodeOutputwithRetries(int retries)Overrides defaults from the Workflow or WorkflowThread and configures simple retries with no delay on this TaskNode.-
Methods inherited from interface io.littlehorse.sdk.wfsdk.NodeOutput
jsonPath, timeout
-
-
-
-
Method Detail
-
withExponentialBackoff
TaskNodeOutput withExponentialBackoff(io.littlehorse.sdk.common.proto.ExponentialBackoffRetryPolicy policy)
Overrides defaults from the Workflow or WorkflowThread and configures an Exponential Backoff Retry Policy for this TaskNode.- Parameters:
policy- is the ExponentialBackoffRetryPolicy for this TaskNode.- Returns:
- this TaskNodeOutput.
-
withRetries
TaskNodeOutput withRetries(int retries)
Overrides defaults from the Workflow or WorkflowThread and configures simple retries with no delay on this TaskNode.- Parameters:
retries- is the number of times to retry failed executions of TaskRuns on this Task Node.
-
-