Class FreestylePourable

java.lang.Object
com.tccc.kos.ext.dispense.pipeline.beverage.Pourable
com.tccc.kos.ext.freestyle.pipeline.beverage.FreestylePourable
All Implemented Interfaces:
Cloneable

public class FreestylePourable extends com.tccc.kos.ext.dispense.pipeline.beverage.Pourable
Pourable implementation for Freestyle which supports pouring by beverage id or by mix of beverages.
Version:
2023-10-19
  • Constructor Details

    • FreestylePourable

      public FreestylePourable(String defStr) throws IOException
      Create a new pourable from the specified definition string.
      Throws:
      IOException
    • FreestylePourable

      public FreestylePourable(FreestylePourable.PourDef def)
      Create a pourable for a PourDef .
  • Method Details

    • forBevId

      public static FreestylePourable forBevId(String bevId)
      Return a pourable for the specified bevId
      Parameters:
      bevId - the beverageId to pour
    • getDefinition

      public Object getDefinition()
      Overrides:
      getDefinition in class com.tccc.kos.ext.dispense.pipeline.beverage.Pourable
    • getPourDef

      public FreestylePourable.PourDef getPourDef()
    • getRecipeId

      public String getRecipeId()