Class CartridgeHolder
java.lang.Object
com.tccc.kos.ext.dispense.Holder
com.tccc.kos.ext.freestyle.service.cartridge.CartridgeHolder
- All Implemented Interfaces:
com.tccc.kos.commons.core.service.handle.HandleAware,com.tccc.kos.commons.util.AttributeAware,com.tccc.kos.commons.util.ClientAttributeAware,com.tccc.kos.core.service.assembly.AssemblyAware,com.tccc.kos.ext.dispense.PourAvailability
public class CartridgeHolder
extends com.tccc.kos.ext.dispense.Holder
Extends
Holder to add additional attributes specific to Freestyle
holders and boards.- Since:
- 1.0
- Version:
- 2023-11-12
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tccc.kos.commons.util.ClientAttributeAware
com.tccc.kos.commons.util.ClientAttributeAware.HiddenNested classes/interfaces inherited from interface com.tccc.kos.ext.dispense.PourAvailability
com.tccc.kos.ext.dispense.PourAvailability.Type -
Field Summary
Fields inherited from class com.tccc.kos.ext.dispense.Holder
CARB, MACROS, MICROS, NNS, NS, TOPIC_CHANGE, WATER -
Constructor Summary
ConstructorsConstructorDescriptionCartridgeHolder(com.tccc.kos.core.service.assembly.Assembly assembly, String name) CartridgeHolder(com.tccc.kos.core.service.assembly.Assembly assembly, String name, com.tccc.kos.ext.dispense.Pump<?> pump) -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(com.tccc.kos.ext.dispense.Pump<?> pump) booleanReturn true if the holder is agitatedbooleanMethods inherited from class com.tccc.kos.ext.dispense.Holder
_getClientAttributeMap, getAssembly, getAttribute, getBeverageAvailabilityLock, getContainer, getContainerId, getHandle, getIngredientAvailabilityLock, getIngredientId, getIngSourceId, getIngType, getNext, getPrev, getPumps, getSlice, notifyChanged, removeAttribute, setAttribute, setIngSourceId, setIngType, setNext, setPrevMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tccc.kos.core.service.assembly.AssemblyAware
getAssemblyNameMethods inherited from interface com.tccc.kos.commons.util.ClientAttributeAware
getClientAttribute, getClientAttributes, removeClientAttribute, setClientAttribute, setHiddenClientAttributeMethods inherited from interface com.tccc.kos.commons.core.service.handle.HandleAware
addHandleChild, getName, getPathMethods inherited from interface com.tccc.kos.ext.dispense.PourAvailability
getAvailbilityLock
-
Constructor Details
-
CartridgeHolder
-
CartridgeHolder
public CartridgeHolder(com.tccc.kos.core.service.assembly.Assembly assembly, String name, com.tccc.kos.ext.dispense.Pump<?> pump)
-
-
Method Details
-
isAgitated
public boolean isAgitated()Return true if the holder is agitated -
add
public void add(com.tccc.kos.ext.dispense.Pump<?> pump) - Overrides:
addin classcom.tccc.kos.ext.dispense.Holder
-
getAgitator
-
isSuperPump
public boolean isSuperPump()
-