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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.boot.autoconfigure.condition.ConditionOutcome
    getMatchOutcome(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      getMatchOutcome in class org.springframework.boot.autoconfigure.condition.SpringBootCondition