@FunctionalInterface public static interface ComponentCustomizer.Policy extends BiPredicate<String,Component>
ComponentCustomizer
is invoked.
This interface is useful to implement enable/disable logic on a group of customizers.Modifier and Type | Method and Description |
---|---|
static ComponentCustomizer.Policy |
any()
A simple allow-all policy.
|
static ComponentCustomizer.Policy |
none()
A simple deny-all policy.
|
and, negate, or, test
static ComponentCustomizer.Policy none()
static ComponentCustomizer.Policy any()
Apache Camel