Interface BeveragePipelineDelegate
public interface BeveragePipelineDelegate
Delegate for pour pipeline. Allows the pipeline to access key data
that originates in other parts of the system.
- Since:
- 1.0
- Version:
- 2023-09-07
-
Method Summary
Modifier and TypeMethodDescriptiondefault doublegetFixedVolumeByName(String name) Return a volume in milliliters for a given name.doubleReturn the max pour volume in milliliters for the platform.
-
Method Details
-
getMaxPourVolume
double getMaxPourVolume()Return the max pour volume in milliliters for the platform. This is used as the volume when usingPourBuilder.addMaxPourVolume(). It does not limit the volume poured using other builder methods which take volumes as arguments. -
getFixedVolumeByName
Return a volume in milliliters for a given name. This is typically used to resolve cup names to fixed volumes but can be used for resolving any named volume based on the needs of the application.- Parameters:
name- the name of the volume to return- Returns:
- the requested volume in milliliters or zero for no pour
-