Class AssembledPipeline


  • public final class AssembledPipeline
    extends java.lang.Object
    A record of a pipeline assembled by PipelineBuilder: the service and filter interfaces it bridges, the filters in the order they are invoked, and the terminator at the end of the chain. The filters and the terminator are recorded as descriptions, taken when the pipeline was assembled, rather than as objects, so that a pipeline no longer in use is not kept alive by this record.
    Since:
    5.9.2
    • Constructor Summary

      Constructors 
      Constructor Description
      AssembledPipeline​(java.lang.Class<?> serviceInterface, java.lang.Class<?> filterInterface, java.util.List<java.lang.String> filters, java.lang.String terminator)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<?> getFilterInterface()
      The interface implemented by each filter of the pipeline.
      java.util.List<java.lang.String> getFilters()
      The filters, in the order they are invoked.
      java.lang.Class<?> getServiceInterface()
      The interface the pipeline implements.
      java.lang.String getTerminator()
      What the last filter delegates to.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AssembledPipeline

        public AssembledPipeline​(java.lang.Class<?> serviceInterface,
                                 java.lang.Class<?> filterInterface,
                                 java.util.List<java.lang.String> filters,
                                 java.lang.String terminator)
    • Method Detail

      • getServiceInterface

        public java.lang.Class<?> getServiceInterface()
        The interface the pipeline implements.
      • getFilterInterface

        public java.lang.Class<?> getFilterInterface()
        The interface implemented by each filter of the pipeline.
      • getFilters

        public java.util.List<java.lang.String> getFilters()
        The filters, in the order they are invoked. Empty when the pipeline is just its terminator.
      • getTerminator

        public java.lang.String getTerminator()
        What the last filter delegates to.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object