Annotation Type JohnzonIgnore


@Target({METHOD,FIELD,ANNOTATION_TYPE}) @Retention(RUNTIME) public @interface JohnzonIgnore
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Example: @JohnzonIgnore(minVersion = 2) will ignore the value until version is set to 2, 3, ...
  • Element Details

    • minVersion

      int minVersion
      Example: @JohnzonIgnore(minVersion = 2) will ignore the value until version is set to 2, 3, ...
      Returns:
      the first version the decorated field is not ignored.
      Default:
      -1