Annotation Type PropertySet.Property

Enclosing interface:
PropertySet

@Inherited @Retention(RUNTIME) @Target({FIELD,METHOD}) public static @interface PropertySet.Property
Marks a field on PropertySet as a property of MessageContext.

To make the runtime processing easy, this annotation must be on a public field (since the property name can be set through Map anyway, you won't be losing abstraction by doing so.)

For similar reason, this annotation can be only placed on a reference type, not primitive type.

Author:
Kohsuke Kawaguchi
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Name of the property.
  • Element Details

    • value

      String[] value
      Name of the property.