Class PipelineDescriber


  • public final class PipelineDescriber
    extends java.lang.Object
    Describes an assembled pipeline as header: filter -> filter -> terminator.

    The toString() of the bridge classes generated by BridgeBuilder delegates here, as does AssembledPipeline.

    Since:
    5.9.2
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String describe​(java.lang.String header, java.util.List<?> steps)
      Describes steps that have already been collected: the filters, in the order they are invoked, followed by the terminator.
      static java.lang.String describe​(java.lang.String header, PipelineStep step)
      Walks the pipeline from the given step to its end, describing each filter, including the terminator.
      static java.lang.String header​(java.lang.Class<?> serviceInterface, java.lang.Class<?> filterInterface)
      The header identifying a pipeline, ahead of its steps.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • header

        public static java.lang.String header​(java.lang.Class<?> serviceInterface,
                                              java.lang.Class<?> filterInterface)
        The header identifying a pipeline, ahead of its steps.
      • describe

        public static java.lang.String describe​(java.lang.String header,
                                                PipelineStep step)
        Walks the pipeline from the given step to its end, describing each filter, including the terminator.
        Parameters:
        header - identifies the pipeline, the steps follow it, separated by a colon
        step - where to start, typically the outermost bridge, but any step describes the pipeline from itself onwards
      • describe

        public static java.lang.String describe​(java.lang.String header,
                                                java.util.List<?> steps)
        Describes steps that have already been collected: the filters, in the order they are invoked, followed by the terminator.