类 OnEndpointElementCondition
- java.lang.Object
- org.springframework.boot.autoconfigure.condition.SpringBootCondition
- org.springframework.boot.actuate.autoconfigure.OnEndpointElementCondition
- 所有已实现的接口:
org.springframework.context.annotation.Condition
public abstract class OnEndpointElementCondition extends org.springframework.boot.autoconfigure.condition.SpringBootCondition
Base endpoint element condition. An element can be disabled globally via thedefaults
name or individually via the name of the element.- 从以下版本开始:
- 2.0.0
构造器概要
构造器 限定符 构造器 说明 protected
OnEndpointElementCondition(String prefix, Class<? extends Annotation> annotationType)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected org.springframework.boot.autoconfigure.condition.ConditionOutcome
getDefaultEndpointsOutcome(org.springframework.context.annotation.ConditionContext context)
protected org.springframework.boot.autoconfigure.condition.ConditionOutcome
getEndpointOutcome(org.springframework.context.annotation.ConditionContext context, String endpointName)
org.springframework.boot.autoconfigure.condition.ConditionOutcome
getMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
构造器详细资料
OnEndpointElementCondition
protected OnEndpointElementCondition(String prefix, Class<? extends Annotation> annotationType)
方法详细资料
getMatchOutcome
public org.springframework.boot.autoconfigure.condition.ConditionOutcome getMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
- 指定者:
getMatchOutcome
在类中org.springframework.boot.autoconfigure.condition.SpringBootCondition
getEndpointOutcome
protected org.springframework.boot.autoconfigure.condition.ConditionOutcome getEndpointOutcome(org.springframework.context.annotation.ConditionContext context, String endpointName)
getDefaultEndpointsOutcome
protected org.springframework.boot.autoconfigure.condition.ConditionOutcome getDefaultEndpointsOutcome(org.springframework.context.annotation.ConditionContext context)