Class TagFilter

    • Constructor Detail

      • TagFilter

        public TagFilter()
    • Method Detail

      • setName

        public void setName​(String name)

        A name of a tag filter.

        Parameters:
        name - A name of a tag filter.
      • getName

        public String getName()

        A name of a tag filter.

        Returns:
        A name of a tag filter.
      • withName

        public TagFilter withName​(String name)

        A name of a tag filter.

        Parameters:
        name - A name of a tag filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getValues

        public List<String> getValues()

        Values of a tag filter.

        Returns:
        Values of a tag filter.
      • setValues

        public void setValues​(Collection<String> values)

        Values of a tag filter.

        Parameters:
        values - Values of a tag filter.
      • withValues

        public TagFilter withValues​(String... values)

        Values of a tag filter.

        NOTE: This method appends the values to the existing list (if any). Use setValues(java.util.Collection) or withValues(java.util.Collection) if you want to override the existing values.

        Parameters:
        values - Values of a tag filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withValues

        public TagFilter withValues​(Collection<String> values)

        Values of a tag filter.

        Parameters:
        values - Values of a tag filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object