Interface CamelContextTracker.Filter
- All Superinterfaces:
Predicate<CamelContext>
- Enclosing class:
CamelContextTracker
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface CamelContextTracker.Filter
extends Predicate<CamelContext>
Decides which
CamelContext instances a CamelContextTracker is notified about.-
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(CamelContext camelContext) Whether the given context should be tracked.default booleantest(CamelContext camelContext)
-
Method Details
-
accept
Whether the given context should be tracked.- Parameters:
camelContext- the camel context- Returns:
- true to track the context
-
test
- Specified by:
testin interfacePredicate<CamelContext>
-