Modifier and Type | Method and Description |
---|---|
static void |
tag(Set<Tag> tags,
String key,
String value)
Populate tags from a key/value pair.
|
static void |
tags(Set<Tag> existingTags,
Iterable<Tag> tags)
Populate tags from another collection of tags.
|
static void |
tags(Set<Tag> tags,
Map<String,String> tagsMap)
Populate tags from a map of key/value pairs.
|
static void |
tags(Set<Tag> tags,
String... keyValues)
Populate tags from key/value pairs.
|
public static void tags(Set<Tag> tags, String... keyValues)
tags
- An existing set of Tags
.keyValues
- Must be an even number of arguments representing key/value pairs of tags.public static void tags(Set<Tag> existingTags, Iterable<Tag> tags)
public static void tag(Set<Tag> tags, String key, String value)
tags
- An existing set of Tags
.key
- The tag key.value
- The tag value.Copyright © 2018 WSO2. All rights reserved.