Class BeverageNozzlePipeline

java.lang.Object
com.tccc.kos.ext.dispense.service.nozzle.NozzlePipeline
com.tccc.kos.ext.dispense.pipeline.beverage.BeverageNozzlePipeline
All Implemented Interfaces:
com.tccc.kos.commons.core.service.handle.HandleAware

public class BeverageNozzlePipeline extends NozzlePipeline
Nozzle pipeline that supports beverage pouring via a Pourable abstraction. This provides a framework for typical pouring functionality but the actual pour engine must be provided.
Since:
1.0
Version:
2023-02-06
  • Constructor Details

  • Method Details

    • setDelegate

      public void setDelegate(BeveragePipelineDelegate delegate)
      Set the BeveragePourServiceDelegate for the pipeline. This can be used to manually set the delegate instead of using autowiring which allows the delegate to be set later, or changed over time.

      This is just a convenience wrapper for calling the setter on the BeveragePipelineService .

    • start

      public void start()
      Description copied from class: NozzlePipeline
      Called when the pipeline is installed to the nozzle. The nozzle will be set and the pipeline context will be bound to the nozzle context before this is called. This allows the pipeline to prepare for use. Any controllers in the pipeline will be made active when this returns. Override as needed.
      Overrides:
      start in class NozzlePipeline
    • stop

      public void stop()
      Description copied from class: NozzlePipeline
      Called when a pipeline is uninstalled from the nozzle. The nozzle will remain set until this returns. Any controllers in the pipeline will be disabled before this is called. Override as needed.
      Overrides:
      stop in class NozzlePipeline
    • getEngine

      public BeveragePourEngine<?> getEngine()
    • getPourService

      public BeveragePipelineService getPourService()