org.qi4j.api.service.qualifier

## Class ServiceTags

- java.lang.Object
- - org.qi4j.api.service.qualifier.ServiceTags

- All Implemented Interfaces:
    Serializable

      public final class ServiceTags
      extends Object
      implements Serializable

  Use this as metainfo about a Service to specify tags. Easiest way to set them on a service is to use the `ServiceDeclaration.taggedWith(String...)` method. These can be used in conjunction with the withTags() Service Selector.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ServiceTags(String... tags)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `hasTag(String tag)`
    `boolean` | `hasTags(String... aTags)`
    `String[]` | `tags()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ServiceTags

          public ServiceTags(String... tags)

  - ### Method Detail

    - #### tags

          public String[] tags()

    - #### hasTag

          public boolean hasTag(String tag)

    - #### hasTags

          public boolean hasTags(String... aTags)