public abstract class OnEndpointElementCondition extends SpringBootCondition
defaults name or individually via the name of the element.| Modifier | Constructor and Description |
|---|---|
protected |
OnEndpointElementCondition(String prefix,
Class<? extends Annotation> annotationType) |
| Modifier and Type | Method and Description |
|---|---|
protected ConditionOutcome |
getDefaultEndpointsOutcome(org.springframework.context.annotation.ConditionContext context) |
protected ConditionOutcome |
getEndpointOutcome(org.springframework.context.annotation.ConditionContext context,
String endpointName) |
ConditionOutcome |
getMatchOutcome(org.springframework.context.annotation.ConditionContext context,
org.springframework.core.type.AnnotatedTypeMetadata metadata)
Determine the outcome of the match along with suitable log output.
|
anyMatches, logOutcome, matches, matchesprotected OnEndpointElementCondition(String prefix, Class<? extends Annotation> annotationType)
public ConditionOutcome getMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
SpringBootConditiongetMatchOutcome in class SpringBootConditioncontext - the condition contextmetadata - the annotation metadataprotected ConditionOutcome getEndpointOutcome(org.springframework.context.annotation.ConditionContext context, String endpointName)
protected ConditionOutcome getDefaultEndpointsOutcome(org.springframework.context.annotation.ConditionContext context)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.