Class Definitions.Tags
- java.lang.Object
-
- com.noleme.vault.container.definition.Definitions.Tags
-
- Enclosing class:
- Definitions
public static class Definitions.Tags extends Object
-
-
Constructor Summary
Constructors Constructor Description Tags()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Definitions.Tags
clearTagsForService(String identifier)
Removes all tags associated with a service, and makes sure the are properly un-indexed.Set<Tag>
forIdentifier(String identifier)
Set<Tag>
forService(String service)
Set<String>
identifiers()
Definitions.Tags
register(Tag tag)
Registers a tag onto a service and indexes it by its tag identifier.Set<String>
taggedServices()
-
-
-
Method Detail
-
clearTagsForService
public Definitions.Tags clearTagsForService(String identifier)
Removes all tags associated with a service, and makes sure the are properly un-indexed.- Parameters:
identifier
- A service identifier- Returns:
- the Tags container
-
register
public Definitions.Tags register(Tag tag)
Registers a tag onto a service and indexes it by its tag identifier.- Parameters:
tag
- A tag to be registered- Returns:
- the Tags container
-
-