T - the type of the parent configurerpublic interface WorkflowConditionConfigurer<T>
Workflow.| Modifier and Type | Method and Description |
|---|---|
WorkflowConditionConfigurer<T> |
addAction(CustomAction action)
Adds custom action a a next sequential step to the current branch of the
WorkflowConditionNode. |
WorkflowConditionConfigurer<T> |
addMapReduce(String mapReduce)
Adds a MapReduce program as a next sequential step to the current branch of the
WorkflowConditionNode. |
WorkflowConditionConfigurer<T> |
addSpark(String spark)
Adds a Spark program as a next sequential step to the current branch of the
WorkflowConditionNode. |
WorkflowConditionConfigurer<? extends WorkflowConditionConfigurer<T>> |
condition(Condition condition)
Adds a nested condition to the current condition.
|
WorkflowConditionConfigurer<? extends WorkflowConditionConfigurer<T>> |
condition(Predicate<WorkflowContext> condition)
Adds a nested condition to the current condition.
|
T |
end()
Ends the current condition.
|
WorkflowForkConfigurer<? extends WorkflowConditionConfigurer<T>> |
fork()
Forks the current branch of the
WorkflowConditionNode. |
WorkflowConditionConfigurer<T> |
otherwise()
Adds a branch to the
WorkflowConditionNode which is executed if the condition evaluates
to the false. |
WorkflowConditionConfigurer<T> addMapReduce(String mapReduce)
WorkflowConditionNode.mapReduce - the name of the MapReduce program to be addedWorkflowConditionConfigurer<T> addSpark(String spark)
WorkflowConditionNode.spark - the name of the Spark program to be addedWorkflowConditionConfigurer<T> addAction(CustomAction action)
WorkflowConditionNode.action - CustomAction to be addedWorkflowForkConfigurer<? extends WorkflowConditionConfigurer<T>> fork()
WorkflowConditionNode.WorkflowConditionConfigurer<? extends WorkflowConditionConfigurer<T>> condition(Predicate<WorkflowContext> condition)
WorkflowConditionConfigurer<? extends WorkflowConditionConfigurer<T>> condition(Condition condition)
condition - the Condition to be evaluatedWorkflowConditionConfigurer<T> otherwise()
WorkflowConditionNode which is executed if the condition evaluates
to the false.T end()
Copyright © 2024 Cask Data, Inc. Licensed under the Apache License, Version 2.0.