Class InventoryChangedEvent

    • Constructor Detail

      • InventoryChangedEvent

        public InventoryChangedEvent​(String identifier,
                                     List<String> tags,
                                     List<String> newTags,
                                     List<String> lostTags)
        Parameters:
        identifier - identifier
        tags - List with current tag ids
        newTags - List with new tag ids
        lostTags - List with lost tag ids
      • InventoryChangedEvent

        public InventoryChangedEvent​(String identifier,
                                     Long timestamp,
                                     List<String> tags,
                                     List<String> newTags,
                                     List<String> lostTags)
        Parameters:
        identifier - identifier
        timestamp - timestamp
        tags - List with current tag ids
        newTags - List with new tag ids
        lostTags - List with lost tag ids
    • Method Detail

      • getTags

        public List<String> getTags()
        Returns:
        a list of tags currently in the inventory
      • getNewTags

        public List<String> getNewTags()
        Returns:
        a list of tags new in the inventory
      • getLostTags

        public List<String> getLostTags()
        Returns:
        a list of tags lost in the inventory