Class PumpNode
java.lang.Object
com.tccc.kos.ext.dispense.pipeline.beverage.graph.GraphNode
com.tccc.kos.ext.dispense.pipeline.beverage.graph.PumpNode
- All Implemented Interfaces:
- Comparable<GraphNode>
A 
GraphNode that represents a pump.
 
 The PourEngine automatically adds these nodes to the base
 of the graph when a graph is rebuilt. Only pumps that have an effective
 ingredient are added, as pumps without ingredients cannot be used for
 beverage pouring.
 
This node has a type of "PUMP", and its ID is the path of the associated pump.
- Since:
- 1.0
- Version:
- 2023-02-10
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class com.tccc.kos.ext.dispense.pipeline.beverage.graph.GraphNodeaddOverride, compareTo, equals, getAltId, getChildren, getChildrenIds, getClientData, getData, getId, getNote, getOverrides, getParentIds, getType, getVersion, hashCode, isAvailable, isVisible, removeOverride, removeOverride, setAltId, setClientData, setData, setNote, setType, toString
- 
Field Details- 
TYPE- See Also:
 
 
- 
- 
Constructor Details- 
PumpNodeCreates a node associated with the given pump and a type of "PUMP".
 
- 
- 
Method Details- 
computeVisiblepublic boolean computeVisible()Returns true, as pump nodes are always visible.- Overrides:
- computeVisiblein class- GraphNode
 
- 
computeAvailablepublic boolean computeAvailable()Returns true if the pump can pour the inserted ingredient as part of a beverage pour.- Overrides:
- computeAvailablein class- GraphNode
 
- 
getPump
 
-