Option
Date: 2016-06-25

org.osgi.service.metatype.annotations

## Annotation Type Option

-     @Retention(value=CLASS)
      @Target(value={})
      public @interface Option

  `Option` information for an `AttributeDefinition`.
  See Also:
    `AttributeDefinition.options()`

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `java.lang.String` | `value` The value of this Option.

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `java.lang.String` | `label` The human readable label of this Option.

- - ### Element Detail

    - #### value

          public abstract java.lang.String value

      The value of this Option.
      See Also:
        "The value attribute of the Option element of a Meta Type Resource."

    - #### label

          public abstract java.lang.String label

      The human readable label of this Option.

      If not specified, the label of this Option is the empty string.

      If the label begins with the percent sign (`'%'` \u0025), the label can be `localized`.

      See Also:
        "The label attribute of the Option element of a Meta Type Resource."
      Default:
        ""