Interface CloseHandler

  • All Superinterfaces:
    InventoryCallbackHandler
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface CloseHandler
    extends InventoryCallbackHandler
    • Method Detail

      • handle

        void handle​(Cause cause,
                    Container container)
        Handler for inventory closing.
        Parameters:
        cause - the cause
        container - the container