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
Version:
8
  • Method Details

    • getMaxPourVolume

      double getMaxPourVolume()
      Return the max pour volume in milliliters for the platform. This is used as the volume when using PourBuilder.addMaxPourVolume() . It does not limit the volume poured using other builder methods which take volumes as arguments.
      Since:
      1
    • getFixedVolumeByName

      @Deprecated default double getFixedVolumeByName(String name)
      Deprecated.
      Use getNamedVolume(java.lang.String) . The default implementation calls getFixedVolumeByName to maintain compatibility.
      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
      Since:
      1
    • getNamedVolume

      default double getNamedVolume(String name)
      Return a volume in milliliters for a given name. This is typically used to resolve cup names to 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
      Since:
      8