Package org.evrete.api
Interface OrderedServiceProvider
- All Superinterfaces:
Comparable<OrderedServiceProvider>
- All Known Subinterfaces:
ExpressionResolverProvider,LiteralRhsCompiler,MemoryFactoryProvider,TypeResolverProvider
public interface OrderedServiceProvider extends Comparable<OrderedServiceProvider>
-
Method Summary
Modifier and Type Method Description default intcompareTo(OrderedServiceProvider o)intsortOrder()When several implementations are found, and no specific implementation class is given, the engine will automatically pick the one with the least sorting order.
-
Method Details
-
sortOrder
int sortOrder()When several implementations are found, and no specific implementation class is given, the engine will automatically pick the one with the least sorting order.
- Returns:
- sort order
-
compareTo
- Specified by:
compareToin interfaceComparable<OrderedServiceProvider>
-