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

public class BeveragePour extends Object implements Pour
Implementation of Pour for beverage pours.
Since:
1.6
Version:
2025-02
  • Constructor Details

    • BeveragePour

      public BeveragePour(com.tccc.kos.commons.util.concurrent.future.FutureWork future, BeveragePourSequence seq)
  • Method Details

    • cancel

      public void cancel(String reason)
      Specified by:
      cancel in interface com.tccc.kos.commons.util.Cancelable
    • abort

      public void abort(String reason)
      Specified by:
      abort in interface com.tccc.kos.commons.util.Abortable
    • setProperty

      public void setProperty(String name, Object value)
      Description copied from interface: Pour
      Set the value of a property. This is a way to attach arbitrary data to the Pour object.
      Specified by:
      setProperty in interface Pour
    • getProperty

      public Object getProperty(String name)
      Description copied from interface: Pour
      Return the value of a property.
      Specified by:
      getProperty in interface Pour
    • getFuture

      public com.tccc.kos.commons.util.concurrent.future.FutureWork getFuture()
    • getSeq

      public BeveragePourSequence getSeq()
    • getProps

      public Map<String,Object> getProps()
    • setFuture

      public void setFuture(com.tccc.kos.commons.util.concurrent.future.FutureWork future)
    • setSeq

      public void setSeq(BeveragePourSequence seq)
    • setProps

      public void setProps(Map<String,Object> props)