Class ElasticSearchFixtures<T,TDocument,SELF extends ElasticSearchFixtures<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.GenericFixtures<ElasticSearchScenarioType<TDocument>,SELF>
-
- dev.aherscu.qa.jgiven.elasticsearch.steps.ElasticSearchFixtures<T,TDocument,SELF>
-
- All Implemented Interfaces:
dev.aherscu.qa.jgiven.commons.model.ScenarioType<ElasticSearchScenarioType<TDocument>>
public class ElasticSearchFixtures<T,TDocument,SELF extends ElasticSearchFixtures<T,TDocument,SELF>> extends dev.aherscu.qa.jgiven.commons.steps.GenericFixtures<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
-
Constructor Summary
Constructors Constructor Description ElasticSearchFixtures()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SELF
convertingBy(Function<TDocument,T> convertBy)
SELF
elastic_search(co.elastic.clients.elasticsearch.ElasticsearchClient elasticsearchClient)
SELF
indexed_by(String index)
SELF
storing(Class<TDocument> documentType)
-
-
-
Field Detail
-
index
@ProvidedScenarioState protected final ThreadLocal<String> index
-
documentType
@ProvidedScenarioState protected final ThreadLocal<Class<TDocument>> documentType
-
convertBy
@ProvidedScenarioState protected final ThreadLocal<Function<TDocument,T>> convertBy
-
elasticsearchClient
@ProvidedScenarioState protected co.elastic.clients.elasticsearch.ElasticsearchClient elasticsearchClient
-
-
Method Detail
-
elastic_search
public SELF elastic_search(@Hidden co.elastic.clients.elasticsearch.ElasticsearchClient elasticsearchClient)
-
-