Class ConditionBlockExecutor<T extends ComponentInputs>

java.lang.Object
com.codebarrel.automation.api.component.branch.condition.ConditionBlockExecutor<T>
All Implemented Interfaces:
ComponentExecutor

@Component public class ConditionBlockExecutor<T extends ComponentInputs> extends Object implements ComponentExecutor
  • Constructor Details

  • Method Details

    • execute

      Description copied from interface: ComponentExecutor
      Executes an action, give the provided context and inputs. Implementations can pick and chose what inputs they wish to handle. Implementations can choose if they want to stop execution of the component chain by returning an appropriate execution reuls. Implementations can also add additional inputs for the next component in the chain.
      Specified by:
      execute in interface ComponentExecutor<T extends ComponentInputs>
      Parameters:
      context - The context to execute this component
      inputs - Inputs needed by the component
      Returns:
      the outputs of this executor (inputs with additional stuff) and what should happen next.