Interface BeveragePourableListener

All Superinterfaces:
BeveragePipelineListener

public interface BeveragePourableListener extends BeveragePipelineListener
Listener for individual Pourable pours within a pour sequence. This represents a single step of a sequenced beverage pour. To listen to pour sequence start and stop events, use BeveragePourListener.
Since:
1.0
Version:
2024-08-22
  • Method Details

    • onBeveragePourableStart

      void onBeveragePourableStart(BeverageNozzlePipeline pipeline, BeveragePour pour, Pourable pourable)
      Called when a beverage pour is about to start. When this is called, the pour has already been built from the sequence so no changes can be made.
      Parameters:
      pipeline - the pipeline generating the event
      pour - the pour that the pourable is part of
      pourable - the pourable that is about to start
    • onBeveragePourableStop

      void onBeveragePourableStop(BeverageNozzlePipeline pipeline, BeveragePour pour, Pourable pourable)
      Called when a pump intent is done. The end state of the future indicates whether the intent was successful or not.
      Parameters:
      pipeline - the pipeline generating the event
      pour - the pour that the pourable is part of
      pourable - the pourable that just stopped