Class Tags

java.lang.Object
com.yahoo.config.provision.Tags

public class Tags extends Object
A deployment may have a list of tags associated with it. Config files may have variants for these tags similar to how they may have variants for instance and zone.
Author:
bratseth
  • Constructor Details

  • Method Details

    • contains

      public boolean contains(String tag)
    • intersects

      public boolean intersects(Tags other)
    • isEmpty

      public boolean isEmpty()
    • containsAll

      public boolean containsAll(Tags other)
    • asString

      public String asString()
      Returns this as a space-separated string which can be used to recreate this by calling fromString().
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • empty

      public static Tags empty()
    • fromString

      public static Tags fromString(String tagsString)
      Creates this from a space-separated string or null.