Class DeadNode
java.lang.Object
com.tccc.kos.ext.dispense.pipeline.beverage.graph.GraphNode
com.tccc.kos.ext.dispense.pipeline.beverage.graph.DeadNode
- All Implemented Interfaces:
Comparable<GraphNode>
A
GraphNode
that always reports unavailable and not visible
unless the overrides are set.
This is automatically inserted into graphs when child dependencies are marked as optional and the child node doesn't actually exist. This ensures that the dependency isn't lost, which might otherwise change the logic of the parent node.
- Since:
- 1.0
- Version:
- 2023-02-10
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.tccc.kos.ext.dispense.pipeline.beverage.graph.GraphNode
addOverride, compareTo, computeAvailable, computeVisible, 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
-
DeadNode
Creates a node with the specified ID and a type of "DEAD".- Parameters:
id
- the ID of the node
-