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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanexecute(T context)Executes this pipeline stage.
-
-
-
Method Detail
-
execute
boolean execute(T context)
Executes this pipeline stage. Implementors are encouraged to throwPipelineExceptionupon errors.- Parameters:
context- pipeline context- Returns:
- whether to continue pipeline execution or stop (
trueto continue).
-
-