Interface ValueParamProvider.PriorityType

All Known Implementing Classes:
ValueParamProvider.Priority
Enclosing interface:
ValueParamProvider

public static interface ValueParamProvider.PriorityType
Priorities are intended to be used as a means to determine the order in which objects are considered whether they are suitable for a particular action or not (e.g. providing a service like creating a value supplier for an injectable parameter). The higher the weight of a priority is the sooner should be an object with this priority examined.

If two objects are of the same priority there is no guarantee which one comes first.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the weight of this priority.
  • Method Details

    • getWeight

      int getWeight()
      Returns the weight of this priority.
      Returns:
      weight of this priority.