public final class HierarchicalPropertiesEvaluator extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
evaluate(org.springframework.context.ApplicationContext applicationContext,
String... prefixes)
Determine the value of the "enabled" flag for a hierarchy of properties.
|
static boolean |
evaluate(org.springframework.core.env.Environment environment,
Collection<String> prefixes)
Determine the value of the "enabled" flag for a hierarchy of properties.
|
static boolean |
evaluate(org.springframework.core.env.Environment environment,
String... prefixes)
Determine the value of the "enabled" flag for a hierarchy of properties.
|
public static boolean evaluate(org.springframework.context.ApplicationContext applicationContext, String... prefixes)
applicationContext
- the spring ApplicationContext
prefixes
- an ordered list of prefixed (less restrictive to more restrictive)public static boolean evaluate(org.springframework.core.env.Environment environment, String... prefixes)
environment
- the environmentprefixes
- an ordered list of prefixed (less restrictive to more restrictive)public static boolean evaluate(org.springframework.core.env.Environment environment, Collection<String> prefixes)
environment
- the environmentprefixes
- an ordered list of prefixed (less restrictive to more restrictive)Apache Camel