Package net.orbyfied.j8.event.pipeline
Interface PipelineAccess<E>
- All Known Subinterfaces:
OrderedPipeline<E,,A> Pipeline<E,A>
- All Known Implementing Classes:
BasicPipeline
public interface PipelineAccess<E>
Interface for virtual pipeline access.
Allows for non-linear pipelines and complex
joining of pipeline without extra overhead.
-
Method Summary
Modifier and TypeMethodDescriptionPipeline<E,? extends PipelineHandlerAction> base()Gets the base pipeline.<T extends Pipeline<E,? extends PipelineHandlerAction>>
Tbase(PipelineConverter<T> converter) Pushes an event to the pipeline.
-
Method Details
-
push
Pushes an event to the pipeline.- Parameters:
event- The event.- Returns:
- This.
-
base
Pipeline<E,? extends PipelineHandlerAction> base()Gets the base pipeline. Expected to be the direct pipeline owned by the owner of this virtual pipeline, but can be different.- Returns:
- The base pipeline.
-
base
-