Interface BeveragePourableListener
- All Superinterfaces:
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 Summary
Modifier and TypeMethodDescriptionvoidonBeveragePourableStart(BeverageNozzlePipeline pipeline, BeveragePour pour, Pourable pourable) Called when a beverage pour is about to start.voidonBeveragePourableStop(BeverageNozzlePipeline pipeline, BeveragePour pour, Pourable pourable) Called when a pump intent is done.
-
Method Details
-
onBeveragePourableStart
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 eventpour- the pour that the pourable is part ofpourable- the pourable that is about to start
-
onBeveragePourableStop
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 eventpour- the pour that the pourable is part ofpourable- the pourable that just stopped
-