Annotation Interface Conversion.Priority

Enclosing class:
Conversion<FROM,TO>

@Target(TYPE) @Retention(RUNTIME) public static @interface Conversion.Priority
Add this annotation to a Conversion implementation to set the priority of this conversion. Priorities are used to determine the default conversion which is used if no target conversion is given and thus multiple conversions may be used. Highest priority wins. If none is given Integer.MIN_VALUE is assumed.
Author:
Rene Schneider - initial API and implementation
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    The priority.
  • Element Details

    • value

      int value
      The priority. Higher is more.
      Default:
      -2147483648