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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a pourable for aPourDef
.FreestylePourable
(String defStr) Create a new pourable from the specified definition string. -
Method Summary
Modifier and TypeMethodDescriptionstatic FreestylePourable
Return a pourable for the specified bevIdMethods inherited from class com.tccc.kos.ext.dispense.pipeline.beverage.Pourable
clone, getEffectiveVolume, getPumps, getStartPercent, getStopPercent, getVolume, setVolume
-
Constructor Details
-
FreestylePourable
Create a new pourable from the specified definition string.- Throws:
IOException
-
FreestylePourable
Create a pourable for aPourDef
.
-
-
Method Details
-
forBevId
Return a pourable for the specified bevId- Parameters:
bevId
- the beverageId to pour
-
getDefinition
- Overrides:
getDefinition
in classcom.tccc.kos.ext.dispense.pipeline.beverage.Pourable
-
getPourDef
-
getRecipeId
-