Class SpringBootAdminServerEnabledCondition
java.lang.Object
org.springframework.boot.autoconfigure.condition.SpringBootCondition
de.codecentric.boot.admin.server.config.SpringBootAdminServerEnabledCondition
- All Implemented Interfaces:
org.springframework.context.annotation.Condition
public class SpringBootAdminServerEnabledCondition
extends org.springframework.boot.autoconfigure.condition.SpringBootCondition
This condition checks if the sever should be enabled. Property
spring.boot.admin.server.enabled is checked.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.autoconfigure.condition.ConditionOutcomegetMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata annotatedTypeMetadata) Methods inherited from class org.springframework.boot.autoconfigure.condition.SpringBootCondition
anyMatches, logOutcome, matches, matches
-
Constructor Details
-
SpringBootAdminServerEnabledCondition
public SpringBootAdminServerEnabledCondition()
-
-
Method Details
-
getMatchOutcome
public org.springframework.boot.autoconfigure.condition.ConditionOutcome getMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata annotatedTypeMetadata) - Specified by:
getMatchOutcomein classorg.springframework.boot.autoconfigure.condition.SpringBootCondition
-