Interface Tagged

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.List<java.lang.String> getTags()
      Gets the tags applied to an object.
      default boolean hasTag​(java.lang.String tag)
      Checks if the value has the given tag by name.
    • Method Detail

      • getTags

        default java.util.List<java.lang.String> getTags()
        Gets the tags applied to an object.
        Returns:
        Returns the tag values.
      • hasTag

        default boolean hasTag​(java.lang.String tag)
        Checks if the value has the given tag by name.
        Parameters:
        tag - Tag value to search for.
        Returns:
        Returns true if the tag is present.