Class ContainerSoldOutTrouble

All Implemented Interfaces:
TroubleIface, HolderBlockTrouble, SoldOutAware, ContainerTroubleIface, HolderTroubleIface

public class ContainerSoldOutTrouble extends ContainerTrouble implements SoldOutAware
Trouble that indicates that a container is sold out.
Version:
2024-10-30
  • Constructor Details

    • ContainerSoldOutTrouble

      public ContainerSoldOutTrouble(Container container, String reason)
      Create a new ContainerSoldOutTrouble for the specified container. Sets the soldOut flag on the container as a side effect.
      Parameters:
      container - the container that is sold out
      reason - the reason for the sold out