Class LoomClientEnabledCondition
java.lang.Object
org.springframework.boot.autoconfigure.condition.SpringBootCondition
com.loomcache.springboot.autoconfigure.LoomClientEnabledCondition
- All Implemented Interfaces:
org.springframework.context.annotation.Condition
public class LoomClientEnabledCondition
extends org.springframework.boot.autoconfigure.condition.SpringBootCondition
implements org.springframework.context.annotation.Condition
Enables the auto-configured Loom client by default for client-only apps, but
requires an explicit opt-in when the embedded server is enabled.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.autoconfigure.condition.ConditionOutcomegetMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata) Methods inherited from class org.springframework.boot.autoconfigure.condition.SpringBootCondition
anyMatches, logOutcome, matches, matchesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.annotation.Condition
matches
-
Constructor Details
-
LoomClientEnabledCondition
public LoomClientEnabledCondition()
-
-
Method Details
-
getMatchOutcome
public org.springframework.boot.autoconfigure.condition.ConditionOutcome getMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata) - Specified by:
getMatchOutcomein classorg.springframework.boot.autoconfigure.condition.SpringBootCondition
-