org.osgi.service.metatype.annotations
Annotation Type Option


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

Option information for an AttributeDefinition.

Author:
$Id: 62ba7da6da943cb1b3d124a36c9861277c93a740 $
See Also:
AttributeDefinition.options()

Required Element Summary
 String value
          The value of this Option.
 
Optional Element Summary
 String label
          The human readable label of this Option.
 

Element Detail

value

public abstract String value
The value of this Option.

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

label

public abstract 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:
""


Copyright © 2014 aQute SARL. All rights reserved.