@Configuration(value="EndpointHypermediaAutoConfiguration.MissingResourceCondition") @ConditionalOnResource(resources="classpath:/META-INF/spring-data-rest/hal-browser/index.html") protected static class EndpointWebMvcHypermediaManagementContextConfiguration.MissingSpringDataRestResourceCondition extends SpringBootCondition
SpringBootCondition
to detect the Spring Data REST HAL browser.Modifier | Constructor and Description |
---|---|
protected |
MissingSpringDataRestResourceCondition() |
Modifier and Type | Method and Description |
---|---|
ConditionOutcome |
getMatchOutcome(ConditionContext context,
AnnotatedTypeMetadata metadata)
Determine the outcome of the match along with suitable log output.
|
anyMatches, matches, matches
protected MissingSpringDataRestResourceCondition()
public ConditionOutcome getMatchOutcome(ConditionContext context, AnnotatedTypeMetadata metadata)
SpringBootCondition
getMatchOutcome
in class SpringBootCondition
context
- the condition contextmetadata
- the annotation metadataCopyright © 2015 Pivotal Software, Inc.. All rights reserved.