public static class OnElasticSearch.OnElasticSearchCondition extends Object implements org.springframework.context.annotation.Condition
| Constructor and Description |
|---|
OnElasticSearchCondition() |
| Modifier and Type | Method and Description |
|---|---|
static Boolean |
isElasticsearchEnabled(org.springframework.core.env.Environment environment) |
boolean |
matches(org.springframework.context.annotation.ConditionContext context,
org.springframework.core.type.AnnotatedTypeMetadata metadata) |
public boolean matches(org.springframework.context.annotation.ConditionContext context,
org.springframework.core.type.AnnotatedTypeMetadata metadata)
matches in interface org.springframework.context.annotation.Conditionpublic static Boolean isElasticsearchEnabled(org.springframework.core.env.Environment environment)
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.