Class MessageSourceAutoConfiguration.ResourceBundleCondition
- java.lang.Object
- org.springframework.boot.autoconfigure.condition.SpringBootCondition
- org.springframework.boot.autoconfigure.context.MessageSourceAutoConfiguration.ResourceBundleCondition
- All Implemented Interfaces:
org.springframework.context.annotation.Condition
- Enclosing class:
- MessageSourceAutoConfiguration
protected static class MessageSourceAutoConfiguration.ResourceBundleCondition extends SpringBootCondition
Constructor Summary
Constructors Modifier Constructor Description protectedResourceBundleCondition()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConditionOutcomegetMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)Determine the outcome of the match along with suitable log output.Methods inherited from class org.springframework.boot.autoconfigure.condition.SpringBootCondition
anyMatches, logOutcome, matches, matches
Constructor Detail
ResourceBundleCondition
protected ResourceBundleCondition()
Method Detail
getMatchOutcome
public ConditionOutcome getMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
Description copied from class:SpringBootConditionDetermine the outcome of the match along with suitable log output.- Specified by:
getMatchOutcomein classSpringBootCondition- Parameters:
context- the condition contextmetadata- the annotation metadata- Returns:
- the condition outcome