Interface ReplaceLineListener
- All Superinterfaces:
PumpListener
- All Known Implementing Classes:
AssignmentService,InsertionService
Listener interface for detecting when the line is replaced.
Ideally, the line will never be replaced without also
replacing the pumps since the idea is that the replacement
is a side effect of a previous ingredient leaving carry-over
flavor in the line. However, logically replacing a line
without physically changing it is a useful abstraction as it
can be used to effectively reset the assignment logic.
Because of this, we treat line replacement separate from pump
replacement as when used in this reset mode, there isn't really
a desire to have to re-calibrate the associated pumps.
- Version:
- 2024-11-14
-
Method Summary
Modifier and TypeMethodDescriptionvoidonLineReplaced(Holder holder) Called when a line is replaced for the holder.
-
Method Details
-
onLineReplaced
Called when a line is replaced for the holder.- Parameters:
holder- the holder with the line being replaced
-