Interface IPipelineStage<T>

  • Type Parameters:
    T - pipeline context type
    All Known Implementing Classes:
    Pipeline

    public interface IPipelineStage<T>
    A logical step in the pipepline. Typically an action to be executed.
    Since:
    1.5.0
    Author:
    Pascal Essiembre
    • Method Detail

      • execute

        boolean execute​(T context)
        Executes this pipeline stage. Implementors are encouraged to throw PipelineException upon errors.
        Parameters:
        context - pipeline context
        Returns:
        whether to continue pipeline execution or stop (true to continue).