Package com.yahoo.config.provision
Class Tags
java.lang.Object
com.yahoo.config.provision.Tags
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns this as a space-separated string which can be used to recreate this by calling fromString().boolean
boolean
containsAll
(Tags other) static Tags
empty()
boolean
static Tags
fromString
(String tagsString) Creates this from a space-separated string or null.int
hashCode()
boolean
intersects
(Tags other) boolean
isEmpty()
toString()
-
Constructor Details
-
Tags
-
-
Method Details
-
contains
-
intersects
-
isEmpty
public boolean isEmpty() -
containsAll
-
asString
Returns this as a space-separated string which can be used to recreate this by calling fromString(). -
toString
-
equals
-
hashCode
public int hashCode() -
empty
-
fromString
Creates this from a space-separated string or null.
-