Class SliceSoldOutTrouble
java.lang.Object
com.tccc.kos.commons.core.service.trouble.Trouble
com.tccc.kos.ext.dispense.PourAvailabilityTrouble
com.tccc.kos.ext.dispense.service.insertion.troubles.ContainerTrouble
com.tccc.kos.ext.dispense.service.insertion.troubles.ContainerSliceTrouble
com.tccc.kos.ext.dispense.service.soldout.SliceSoldOutTrouble
- All Implemented Interfaces:
com.tccc.kos.commons.core.service.trouble.TroubleIface
,HolderBlockTrouble
,SoldOutAware
,ContainerSliceTroubleIface
,ContainerTroubleIface
,HolderTroubleIface
Trouble that indicates that a container slice is sold out.
- Version:
- 2024-10-30
-
Nested Class Summary
Nested classes/interfaces inherited from class com.tccc.kos.commons.core.service.trouble.Trouble
com.tccc.kos.commons.core.service.trouble.Trouble.TroubleView
-
Field Summary
Fields inherited from class com.tccc.kos.ext.dispense.service.insertion.troubles.ContainerTrouble
IFACE_CONTAINER
-
Constructor Summary
ConstructorsConstructorDescriptionSliceSoldOutTrouble
(ContainerSlice slice, String reason) Create a newSliceSoldOutTrouble
for the specified container slice. -
Method Summary
Methods inherited from class com.tccc.kos.ext.dispense.service.insertion.troubles.ContainerSliceTrouble
getSlice, getSlicePos
Methods inherited from class com.tccc.kos.ext.dispense.service.insertion.troubles.ContainerTrouble
getContainerId, getHolderNames, getHolderPaths, getIngredients, getPourBlockType
Methods inherited from class com.tccc.kos.ext.dispense.PourAvailabilityTrouble
blockBeveragePour, blockIngredientPour, blockPour
Methods inherited from class com.tccc.kos.commons.core.service.trouble.Trouble
addIface, addImpacted, addLink, addTag, equals, getClientData, getCount, getCreateTime, getGroup, getId, getIfaces, getImpacted, getInfo, getLinked, getReason, getTags, getType, hashCode, incCount, isImpacted, isLinked, isResolvable, isTagged, onRemoved, removeImpacted, removeLink, removeTag, resolvable, resolve, setReason, setResolvable, toString
Methods inherited from interface com.tccc.kos.ext.dispense.service.soldout.SoldOutAware
isSoldOut
-
Constructor Details
-
SliceSoldOutTrouble
Create a newSliceSoldOutTrouble
for the specified container slice. Sets thesoldOut
flag on the slice as a side effect.- Parameters:
slice
- the slice that is sold outreason
- the reason for the sold out
-