Package org.apache.camel
Interface Ordered
-
- All Known Subinterfaces:
BulkTypeConverters,CamelClusterService,CamelContextCustomizer,CamelPreemptiveClusterService,ComponentCustomizer,DataFormatCustomizer,HealthCheck,LanguageCustomizer,ManagementInterceptStrategy.InstrumentationProcessor<T>,ServiceRegistry
public interface OrderedInterface to be implemented by objects that should be orderable, such as with aCollection.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetOrder()Gets the order.
-
-
-
Field Detail
-
HIGHEST
static final int HIGHEST
The highest precedence- See Also:
- Constant Field Values
-
LOWEST
static final int LOWEST
The lowest precedence- See Also:
- Constant Field Values
-
-
Method Detail
-
getOrder
int getOrder()
Gets the order. Use low numbers for higher priority. Normally the sorting will start from 0 and move upwards. So if you want to be last then useInteger.MAX_VALUEor egLOWEST.- Returns:
- the order
-
-