Class DefaultPiPipeconf.Builder

  • Enclosing class:
    DefaultPiPipeconf

    public static class DefaultPiPipeconf.Builder
    extends java.lang.Object
    Builder of pipeconf implementations.
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • addBehaviour

        public DefaultPiPipeconf.Builder addBehaviour​(java.lang.Class<? extends Behaviour> clazz,
                                                      java.lang.Class<? extends Behaviour> implementation)
        Adds a behaviour to this pipeconf.
        Parameters:
        clazz - behavior interface class
        implementation - behavior implementation class
        Returns:
        this
      • build

        public PiPipeconf build()
        Creates a new pipeconf.
        Returns:
        pipeconf instance