Class ContainerSoldOutTrouble
java.lang.Object
com.kosdev.kos.commons.core.service.trouble.Trouble
com.kosdev.kos.ext.dispense.PourAvailabilityTrouble
com.kosdev.kos.ext.dispense.service.insertion.troubles.ContainerTrouble
com.kosdev.kos.ext.dispense.service.soldout.ContainerSoldOutTrouble
- All Implemented Interfaces:
com.kosdev.kos.commons.core.service.trouble.TroubleIface,com.kosdev.kos.commons.util.ClientAttributeAware,HolderBlockTrouble,SoldOutAware,ContainerTroubleIface,HolderTroubleIface
Trouble that indicates that a container is sold out.
- Since:
- 1
- Version:
- 1
-
Nested Class Summary
Nested classes/interfaces inherited from class com.kosdev.kos.commons.core.service.trouble.Trouble
com.kosdev.kos.commons.core.service.trouble.Trouble.TroubleViewNested classes/interfaces inherited from interface com.kosdev.kos.commons.util.ClientAttributeAware
com.kosdev.kos.commons.util.ClientAttributeAware.Hidden -
Field Summary
Fields inherited from class com.kosdev.kos.ext.dispense.service.insertion.troubles.ContainerTrouble
IFACE_CONTAINER -
Constructor Summary
ConstructorsConstructorDescriptionContainerSoldOutTrouble(Container container, String reason) Create a newContainerSoldOutTroublefor the specified container. -
Method Summary
Methods inherited from class com.kosdev.kos.ext.dispense.service.insertion.troubles.ContainerTrouble
getContainerId, getHolderNames, getHolderPaths, getIngredients, getPourBlockTypeMethods inherited from class com.kosdev.kos.ext.dispense.PourAvailabilityTrouble
blockBeveragePour, blockIngredientPour, blockPourMethods inherited from class com.kosdev.kos.commons.core.service.trouble.Trouble
_getClientAttributeMap, addIface, addImpacted, addLink, addTag, equals, getClientData, getCount, getCreateTime, getGroup, getId, getIfaces, getImpacted, getLinked, getReason, getTags, getType, hashCode, incCount, isImpacted, isLinked, isResolvable, isTagged, onRemoved, removeImpacted, removeLink, removeTag, resolvable, resolve, setReason, setResolvable, toStringMethods inherited from interface com.kosdev.kos.commons.util.ClientAttributeAware
getClientAttribute, getClientAttributes, removeClientAttribute, setClientAttribute, setHiddenClientAttributeMethods inherited from interface com.kosdev.kos.ext.dispense.service.soldout.SoldOutAware
isSoldOut
-
Constructor Details
-
ContainerSoldOutTrouble
Create a newContainerSoldOutTroublefor the specified container. Sets thesoldOutflag on the container as a side effect.- Parameters:
container- the container that is sold outreason- the reason for the sold out- Since:
- 1
-