Package org.apache.camel.support
Class CustomizersSupport.LanguageCustomizationEnabledPolicy
java.lang.Object
org.apache.camel.support.CustomizersSupport.LanguageCustomizationEnabledPolicy
- All Implemented Interfaces:
BiPredicate<String,
,org.apache.camel.spi.Language> org.apache.camel.CamelContextAware
,org.apache.camel.spi.HasCamelContext
,org.apache.camel.spi.LanguageCustomizer.Policy
- Enclosing class:
CustomizersSupport
public static final class CustomizersSupport.LanguageCustomizationEnabledPolicy
extends Object
implements org.apache.camel.spi.LanguageCustomizer.Policy
A
LanguageCustomizer.Policy
that uses a hierarchical lists of properties to determine if customization is
enabled for the given Language
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.CamelContext
void
setCamelContext
(org.apache.camel.CamelContext camelContext) boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiPredicate
and, negate, or
-
Constructor Details
-
LanguageCustomizationEnabledPolicy
public LanguageCustomizationEnabledPolicy()
-
-
Method Details
-
test
- Specified by:
test
in interfaceBiPredicate<String,
org.apache.camel.spi.Language>
-
getCamelContext
public org.apache.camel.CamelContext getCamelContext()- Specified by:
getCamelContext
in interfaceorg.apache.camel.spi.HasCamelContext
-
setCamelContext
public void setCamelContext(org.apache.camel.CamelContext camelContext) - Specified by:
setCamelContext
in interfaceorg.apache.camel.CamelContextAware
-