Interface FilterOrder

All Known Implementing Classes:
FilterOrder.Dynamic, FilterOrder.Fixed

@Internal public sealed interface FilterOrder permits FilterOrder.Fixed, FilterOrder.Dynamic
Different filter order heuristics, derived from annotations or a bean method.
Since:
4.0.0
Author:
Jonas Konrad
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    Dynamic order value (from Ordered.getOrder()).
    static final record 
    Fixed order value.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Compute the order value for the given bean.
  • Method Details

    • getOrder

      int getOrder(Object bean)
      Compute the order value for the given bean.
      Parameters:
      bean - The bean to compute the order value for, potentially implementing Ordered
      Returns:
      The order value