Class Definitions.Tags

    • Constructor Detail

      • Tags

        public Tags()
    • Method Detail

      • identifiers

        public Set<String> identifiers()
      • taggedServices

        public Set<String> taggedServices()
      • forIdentifier

        public Set<Tag> forIdentifier​(String identifier)
      • forService

        public Set<Tag> forService​(String service)
      • clearTagsForService

        public Definitions.Tags clearTagsForService​(String identifier)
        Removes all tags associated with a service, and makes sure the are properly un-indexed.
        Parameters:
        identifier - A service identifier
        Returns:
        the Tags container
      • register

        public Definitions.Tags register​(Tag tag)
        Registers a tag onto a service and indexes it by its tag identifier.
        Parameters:
        tag - A tag to be registered
        Returns:
        the Tags container