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 class
CustomizersSupport.ComponentCustomizationEnabledPolicy
AComponentCustomizer.Policy
that uses a hierarchical lists of properties to determine if customization is enabled for the givenComponent
.static class
CustomizersSupport.DataFormatCustomizationEnabledPolicy
ADataFormatCustomizer.Policy
that uses a hierarchical lists of properties to determine if customization is enabled for the givenDataFormat
.static class
CustomizersSupport.LanguageCustomizationEnabledPolicy
ALanguageCustomizer.Policy
that 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 boolean
isEnabled(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
- theCamelContext
prefixes
- an ordered list of prefixed (less restrictive to more restrictive)- Returns:
- the value of the key `enabled` for most restrictive prefix
-
-