Class ElasticSearchVerifications<T,TDocument,SELF extends ElasticSearchVerifications<T,TDocument,SELF>>
- java.lang.Object
-
- com.tngtech.jgiven.base.StageBase<SELF>
-
- com.tngtech.jgiven.Stage<SELF>
-
- dev.aherscu.qa.jgiven.commons.utils.StageEx<SELF>
-
- dev.aherscu.qa.jgiven.commons.steps.GenericVerifications<ElasticSearchScenarioType<TDocument>,SELF>
-
- dev.aherscu.qa.jgiven.elasticsearch.steps.ElasticSearchVerifications<T,TDocument,SELF>
-
- All Implemented Interfaces:
dev.aherscu.qa.jgiven.commons.model.ScenarioType<ElasticSearchScenarioType<TDocument>>
public class ElasticSearchVerifications<T,TDocument,SELF extends ElasticSearchVerifications<T,TDocument,SELF>> extends dev.aherscu.qa.jgiven.commons.steps.GenericVerifications<ElasticSearchScenarioType<TDocument>,SELF>
-
-
Field Summary
Fields Modifier and Type Field Description protected ThreadLocal<Function<TDocument,T>>
convertBy
protected ThreadLocal<Class<TDocument>>
documentType
protected co.elastic.clients.elasticsearch.ElasticsearchClient
elasticsearchClient
protected ThreadLocal<String>
index
protected ThreadLocal<co.elastic.clients.elasticsearch.core.IndexResponse>
response
-
Constructor Summary
Constructors Constructor Description ElasticSearchVerifications()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SELF
the_document(String id, org.hamcrest.Matcher<T> matcher)
SELF
the_index(Function<co.elastic.clients.elasticsearch._types.query_dsl.Query.Builder,co.elastic.clients.util.ObjectBuilder<co.elastic.clients.elasticsearch._types.query_dsl.Query>> query, org.hamcrest.Matcher<Stream<T>> matcher)
-
Methods inherited from class dev.aherscu.qa.jgiven.commons.steps.GenericVerifications
beforeScenarioConfigurePolling, eventually, eventually, eventually_assert_that, should_succeed, the_file_$_should_contain, the_file_$_should_match, the_JSON_file_$_should_contain
-
-
-
-
Field Detail
-
response
@ExpectedScenarioState protected ThreadLocal<co.elastic.clients.elasticsearch.core.IndexResponse> response
-
index
@ExpectedScenarioState protected ThreadLocal<String> index
-
documentType
@ExpectedScenarioState protected ThreadLocal<Class<TDocument>> documentType
-
convertBy
@ExpectedScenarioState protected ThreadLocal<Function<TDocument,T>> convertBy
-
elasticsearchClient
@ExpectedScenarioState protected co.elastic.clients.elasticsearch.ElasticsearchClient elasticsearchClient
-
-