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
      java.lang.String value
      Name of a unit (e.g.
    • Element Detail

      • value

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