public abstract class SpringBootCondition extends Object implements org.springframework.context.annotation.Condition
Condition implementations used with Spring Boot. Provides sensible
logging to help the user diagnose what classes are loaded.| Modifier and Type | Class and Description |
|---|---|
protected static class |
SpringBootCondition.Outcome
Outcome for a match, including log message.
|
| Constructor and Description |
|---|
SpringBootCondition() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
anyMatches(org.springframework.context.annotation.ConditionContext context,
org.springframework.core.type.AnnotatedTypeMetadata metadata,
org.springframework.context.annotation.Condition... conditions) |
abstract SpringBootCondition.Outcome |
getMatchOutcome(org.springframework.context.annotation.ConditionContext context,
org.springframework.core.type.AnnotatedTypeMetadata metadata)
Determine the outcome of the match along with suitable log output.
|
boolean |
matches(org.springframework.context.annotation.ConditionContext context,
org.springframework.core.type.AnnotatedTypeMetadata metadata) |
protected boolean |
matches(org.springframework.context.annotation.ConditionContext context,
org.springframework.core.type.AnnotatedTypeMetadata metadata,
org.springframework.context.annotation.Condition condition) |
public final boolean matches(org.springframework.context.annotation.ConditionContext context,
org.springframework.core.type.AnnotatedTypeMetadata metadata)
matches in interface org.springframework.context.annotation.Conditionpublic abstract SpringBootCondition.Outcome getMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
protected final boolean anyMatches(org.springframework.context.annotation.ConditionContext context,
org.springframework.core.type.AnnotatedTypeMetadata metadata,
org.springframework.context.annotation.Condition... conditions)
protected final boolean matches(org.springframework.context.annotation.ConditionContext context,
org.springframework.core.type.AnnotatedTypeMetadata metadata,
org.springframework.context.annotation.Condition condition)
Copyright © 2013. All rights reserved.