Class CustomizersSupport.ComponentCustomizationEnabledPolicy

java.lang.Object
org.apache.camel.support.CustomizersSupport.ComponentCustomizationEnabledPolicy
All Implemented Interfaces:
BiPredicate<String,org.apache.camel.Component>, org.apache.camel.CamelContextAware, org.apache.camel.spi.ComponentCustomizer.Policy, org.apache.camel.spi.HasCamelContext
Enclosing class:
CustomizersSupport

public static final class CustomizersSupport.ComponentCustomizationEnabledPolicy extends Object implements org.apache.camel.spi.ComponentCustomizer.Policy
A ComponentCustomizer.Policy that uses a hierarchical lists of properties to determine if customization is enabled for the given Component.
  • Constructor Details

    • ComponentCustomizationEnabledPolicy

      public ComponentCustomizationEnabledPolicy()
  • Method Details

    • test

      public boolean test(String name, org.apache.camel.Component target)
      Specified by:
      test in interface BiPredicate<String,org.apache.camel.Component>
    • 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