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 Details

    • LanguageCustomizationEnabledPolicy

      public LanguageCustomizationEnabledPolicy()
  • Method Details

    • test

      public boolean test(String name, org.apache.camel.spi.Language target)
      Specified by:
      test in interface BiPredicate<String,org.apache.camel.spi.Language>
    • getCamelContext

      public org.apache.camel.CamelContext getCamelContext()
      Specified by:
      getCamelContext in interface org.apache.camel.spi.HasCamelContext
    • setCamelContext

      public void setCamelContext(org.apache.camel.CamelContext camelContext)
      Specified by:
      setCamelContext in interface org.apache.camel.CamelContextAware