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 a
Collection
.-
Field Summary
-
Method Summary
-
Field Details
-
HIGHEST
static final int HIGHESTThe highest precedence- See Also:
-
LOWEST
static final int LOWESTThe lowest precedence- See Also:
-
-
Method Details
-
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
-