Package org.apache.camel.support
Class CustomizersSupport
- java.lang.Object
-
- org.apache.camel.support.CustomizersSupport
-
public final class CustomizersSupport extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCustomizersSupport.ComponentCustomizationEnabledPolicyAComponentCustomizer.Policythat uses a hierarchical lists of properties to determine if customization is enabled for the givenComponent.static classCustomizersSupport.DataFormatCustomizationEnabledPolicyADataFormatCustomizer.Policythat uses a hierarchical lists of properties to determine if customization is enabled for the givenDataFormat.static classCustomizersSupport.LanguageCustomizationEnabledPolicyALanguageCustomizer.Policythat uses a hierarchical lists of properties to determine if customization is enabled for the givenLanguage.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisEnabled(org.apache.camel.CamelContext camelContext, String... prefixes)Determine the value of the "enabled" flag for a hierarchy of properties.
-
-
-
Method Detail
-
isEnabled
public static boolean isEnabled(org.apache.camel.CamelContext camelContext, String... prefixes)Determine the value of the "enabled" flag for a hierarchy of properties.- Parameters:
camelContext- theCamelContextprefixes- an ordered list of prefixed (less restrictive to more restrictive)- Returns:
- the value of the key `enabled` for most restrictive prefix
-
-