Annotation Type Unit


@Documented @Target(METHOD) @Retention(RUNTIME) public @interface Unit
This annotation can be used inside MBean interfaces to document the unit of an attribute.
Since:
1.0 (18.01.2010)
Author:
oliver
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Name of a unit (e.g.
  • Element Details

    • value

      String value
      Name of a unit (e.g. "seconds").
      Returns:
      the string