Package org.apache.camel
Interface Ordered
-
- All Known Subinterfaces:
BulkTypeConverters
,CamelClusterService
,CamelContextCustomizer
,CamelPreemptiveClusterService
,ComponentCustomizer
,DataFormatCustomizer
,HealthCheck
,LanguageCustomizer
,ManagementInterceptStrategy.InstrumentationProcessor<T>
,ServiceRegistry
public interface Ordered
Interface 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 int
getOrder()
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_VALUE
or egLOWEST
.- Returns:
- the order
-
-