@Evolving public interface SupportsTags
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
associateTags(java.lang.String[] tagsToAdd,
java.lang.String[] tagsToRemove)
Associate tags to the specific object.
|
Tag |
getTag(java.lang.String name)
Get a tag by its name for the specific object.
|
java.lang.String[] |
listTags()
List all the tag names for the specific object.
|
Tag[] |
listTagsInfo()
List all the tags with details for the specific object.
|
java.lang.String[] listTags()
Tag[] listTagsInfo()
Tag getTag(java.lang.String name) throws NoSuchTagException
name - The name of the tag.NoSuchTagException - If the tag does not associate with the object.java.lang.String[] associateTags(java.lang.String[] tagsToAdd,
java.lang.String[] tagsToRemove)
throws TagAlreadyAssociatedException
TagAlreadyAssociatedExceptiontagsToAdd - The arrays of tag name to be added to the object.tagsToRemove - The array of tag name to be removed from the object.TagAlreadyAssociatedException - If the tag is already associated with the object.