Interface BeverageSelectionListener

All Superinterfaces:
BeveragePipelineListener

public interface BeverageSelectionListener extends BeveragePipelineListener
Listener for changes in the selected pourable.
Since:
1.0
Version:
2024-08-22
  • Method Details

    • onBeverageSelect

      void onBeverageSelect(BeverageNozzlePipeline pipeline, Pourable pourable)
      Called when a new pourable is selected.
      Parameters:
      pipeline - the pipeline generating the event
      pourable - the newly selected pourable
    • onBeverageUnselect

      void onBeverageUnselect(BeverageNozzlePipeline pipeline)
      Called when the current selection is cleared. This is not called when the selection is replaced by another pourable, only when the current selection is cleared.
      Parameters:
      pipeline - the pipeline generating the event