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(ConditionContext context) |
protected ConditionOutcome |
getEndpointOutcome(ConditionContext context,
String endpointName) |
ConditionOutcome |
getMatchOutcome(ConditionContext context,
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(ConditionContext context, AnnotatedTypeMetadata metadata)
SpringBootConditiongetMatchOutcome in class SpringBootConditioncontext - the condition contextmetadata - the annotation metadataprotected ConditionOutcome getEndpointOutcome(ConditionContext context, String endpointName)
protected ConditionOutcome getDefaultEndpointsOutcome(ConditionContext context)