Package org.evrete.api
Interface OrderedServiceProvider
-
- All Superinterfaces:
Comparable<OrderedServiceProvider>
- All Known Subinterfaces:
ExpressionResolverProvider,LiteralRhsCompiler,LiteralSourceCompiler,MemoryFactoryProvider,TypeResolverProvider
public interface OrderedServiceProvider extends Comparable<OrderedServiceProvider>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods 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 Detail
-
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
default int compareTo(OrderedServiceProvider o)
- Specified by:
compareToin interfaceComparable<OrderedServiceProvider>
-
-