Class BeveragePour
java.lang.Object
com.tccc.kos.ext.dispense.pipeline.beverage.BeveragePour
- All Implemented Interfaces:
com.tccc.kos.commons.util.Abortable
,com.tccc.kos.commons.util.Cancelable
,com.tccc.kos.commons.util.Terminable
,Pour
Implementation of
Pour
for beverage pours.- Since:
- 1.6
- Version:
- 2025-02
-
Constructor Summary
ConstructorsConstructorDescriptionBeveragePour
(com.tccc.kos.commons.util.concurrent.future.FutureWork future, BeveragePourSequence seq) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
com.tccc.kos.commons.util.concurrent.future.FutureWork
getProperty
(String name) Return the value of a property.getProps()
getSeq()
void
setFuture
(com.tccc.kos.commons.util.concurrent.future.FutureWork future) void
setProperty
(String name, Object value) Set the value of a property.void
void
-
Constructor Details
-
BeveragePour
public BeveragePour(com.tccc.kos.commons.util.concurrent.future.FutureWork future, BeveragePourSequence seq)
-
-
Method Details
-
cancel
- Specified by:
cancel
in interfacecom.tccc.kos.commons.util.Cancelable
-
abort
- Specified by:
abort
in interfacecom.tccc.kos.commons.util.Abortable
-
setProperty
Description copied from interface:Pour
Set the value of a property. This is a way to attach arbitrary data to thePour
object.- Specified by:
setProperty
in interfacePour
-
getProperty
Description copied from interface:Pour
Return the value of a property.- Specified by:
getProperty
in interfacePour
-
getFuture
public com.tccc.kos.commons.util.concurrent.future.FutureWork getFuture() -
getSeq
-
getProps
-
setFuture
public void setFuture(com.tccc.kos.commons.util.concurrent.future.FutureWork future) -
setSeq
-
setProps
-