Annotation Interface MqttProperty


@Documented @Retention(RUNTIME) @Target({PARAMETER,TYPE,METHOD}) @Repeatable(MqttProperties.class) @Bindable public @interface MqttProperty
Used for binding arguments to mqtt properties.
Since:
1.0.0
Author:
James Kleeh
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Never used if applied to a parameter.
    If used as a bound parameter, this is the property name.
  • Element Details

    • value

      String value
      If used as a bound parameter, this is the property name. If used on a class level this is value and not the property name.
      Returns:
      The name of the property, otherwise it is inferred from the name()
      Default:
      ""
    • name

      String name
      Never used if applied to a parameter. Supplies the property name if used on a class or method.
      Returns:
      The name of property
      Default:
      ""