Class AbstractShape

java.lang.Object
org.apache.pekko.stream.Shape
org.apache.pekko.stream.AbstractShape

public abstract class AbstractShape extends Shape
Java API for creating custom Shape types.
  • Constructor Details

    • AbstractShape

      public AbstractShape()
  • Method Details

    • allInlets

      public abstract List<Inlet<?>> allInlets()
      Provide the list of all input ports of this shape.
    • allOutlets

      public abstract List<Outlet<?>> allOutlets()
      Provide the list of all output ports of this shape.
    • getInlets

      public final List<Inlet<?>> getInlets()
      Description copied from class: Shape
      Java API: get a list of all input ports
      Overrides:
      getInlets in class Shape
    • getOutlets

      public final List<Outlet<?>> getOutlets()
      Description copied from class: Shape
      Java API: get a list of all output ports
      Overrides:
      getOutlets in class Shape
    • inlets

      public final scala.collection.immutable.Seq<Inlet<?>> inlets()
      Description copied from class: Shape
      Scala API: get a list of all input ports
      Specified by:
      inlets in class Shape
    • outlets

      public final scala.collection.immutable.Seq<Outlet<?>> outlets()
      Description copied from class: Shape
      Scala API: get a list of all output ports
      Specified by:
      outlets in class Shape