Class ElasticSearchActions<T,TDocument,SELF extends ElasticSearchActions<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.GenericActions<ElasticSearchScenarioType<TDocument>,SELF>
-
- dev.aherscu.qa.jgiven.elasticsearch.steps.ElasticSearchActions<T,TDocument,SELF>
-
- All Implemented Interfaces:
dev.aherscu.qa.jgiven.commons.model.ScenarioType<ElasticSearchScenarioType<TDocument>>
public class ElasticSearchActions<T,TDocument,SELF extends ElasticSearchActions<T,TDocument,SELF>> extends dev.aherscu.qa.jgiven.commons.steps.GenericActions<ElasticSearchScenarioType<TDocument>,SELF>
-
-
Field Summary
Fields Modifier and Type Field Description 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 ElasticSearchActions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SELF
adding_single_document(TDocument document, Function<TDocument,String> indexedBy)
-
Methods inherited from class dev.aherscu.qa.jgiven.commons.steps.GenericActions
comment, concatenate_$_files_from_$_into, deleting_directory, doing_nothing, doing_nothing, doing_nothing, failing_on_purpose_with, retrying, retrying, safely, safely
-
-
-
-
Field Detail
-
response
@ProvidedScenarioState protected final ThreadLocal<co.elastic.clients.elasticsearch.core.IndexResponse> response
-
index
@ExpectedScenarioState protected ThreadLocal<String> index
-
documentType
@ExpectedScenarioState protected ThreadLocal<Class<TDocument>> documentType
-
elasticsearchClient
@ExpectedScenarioState protected co.elastic.clients.elasticsearch.ElasticsearchClient elasticsearchClient
-
-