public abstract class SpringBootCondition extends Object implements Condition
Condition implementations used with Spring Boot. Provides sensible
 logging to help the user diagnose what classes are loaded.| Constructor and Description | 
|---|
| SpringBootCondition() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | anyMatches(ConditionContext context,
          AnnotatedTypeMetadata metadata,
          Condition... conditions)Return true if any of the specified conditions match. | 
| abstract ConditionOutcome | getMatchOutcome(ConditionContext context,
               AnnotatedTypeMetadata metadata)Determine the outcome of the match along with suitable log output. | 
| protected void | logOutcome(String classOrMethodName,
          ConditionOutcome outcome) | 
| boolean | matches(ConditionContext context,
       AnnotatedTypeMetadata metadata) | 
| protected boolean | matches(ConditionContext context,
       AnnotatedTypeMetadata metadata,
       Condition condition)Return true if any of the specified condition matches. | 
public final boolean matches(ConditionContext context, AnnotatedTypeMetadata metadata)
protected final void logOutcome(String classOrMethodName, ConditionOutcome outcome)
public abstract ConditionOutcome getMatchOutcome(ConditionContext context, AnnotatedTypeMetadata metadata)
context - the condition contextmetadata - the annotation metadataprotected final boolean anyMatches(ConditionContext context, AnnotatedTypeMetadata metadata, Condition... conditions)
context - the contextmetadata - the annotation meta-dataconditions - conditions to testtrue if any condition matches.protected final boolean matches(ConditionContext context, AnnotatedTypeMetadata metadata, Condition condition)
context - the contextmetadata - the annotation meta-datacondition - condition to testtrue if the condition matches.Copyright © 2021 Pivotal Software, Inc.. All rights reserved.