Interface FixedPourAware
public interface FixedPourAware
Interface for a
Pourable
to indicate that it supports pour splitting for
fixed pours. A fixed pour tends to be an unattended pour such as filling a cup
with a single button press. These pours tend to require splitting for carbonated
beverages to prevent them from foaming over. Any Pourable
that implements
this interface and is used in a fixed pour can declare the split percent and the
delay to use when split, including no split at all.- Since:
- 1.0
- Version:
- 2023-08-11
-
Method Summary
Modifier and TypeMethodDescriptionint
Return the delay in milliseconds to use if the pour is split.double
Return the split percent for the pour.
-
Method Details
-
getSplitPercent
double getSplitPercent()Return the split percent for the pour. A value of 0 or 100 indicates no split.- Returns:
- the split percent 0..100
-
getSplitDelay
int getSplitDelay()Return the delay in milliseconds to use if the pour is split.- Returns:
- split delay in ms
-