Annotation Interface DataSizeUnit


@Target({FIELD,PARAMETER}) @Retention(RUNTIME) @Documented public @interface DataSizeUnit
Annotation that can be used to change the default unit used when converting a DataSize.
Since:
2.1.0
Author:
Stephane Nicoll
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The DataUnit to use if one is not specified.
  • Element Details

    • value

      DataUnit value
      The DataUnit to use if one is not specified.
      Returns:
      the data unit