public class ProcessInstanceJsonMapper extends BaseJsonMapper<ProcessInstanceSearchRepresentation> implements ProcessInstanceResultMapper
ProcessInstanceResultMapper.Enhancer
Modifier and Type | Field and Description |
---|---|
protected List<ProcessInstanceResultMapper.Enhancer> |
resultMapperEnhancers |
Constructor and Description |
---|
ProcessInstanceJsonMapper() |
Modifier and Type | Method and Description |
---|---|
ProcessInstanceSearchRepresentation |
convert(com.fasterxml.jackson.databind.JsonNode sourceNode)
Converts the given source node (not the full Elasticsearch hit document, just the source object within it).
|
ProcessInstanceSearchRepresentation |
convertHit(com.fasterxml.jackson.databind.JsonNode hitNode)
Implement this method, if you want to enhance or enrich the response with additional data outside of the source object within the hit document
returned by Elasticsearch.
|
protected ProcessInstanceSearchRepresentation |
convertWithoutEnhancer(com.fasterxml.jackson.databind.JsonNode jsonNode) |
List<ProcessInstanceResultMapper.Enhancer> |
getResultMapperEnhancers() |
void |
setResultMapperEnhancers(List<ProcessInstanceResultMapper.Enhancer> resultMapperEnhancers) |
createScopeSearchInfo, createTranslationSearchResponses, flattenVariables, transformVariableNode
protected List<ProcessInstanceResultMapper.Enhancer> resultMapperEnhancers
public ProcessInstanceSearchRepresentation convertHit(com.fasterxml.jackson.databind.JsonNode hitNode)
ElasticsearchResultConverter.ResultMapper
convertHit
in interface ElasticsearchResultConverter.ResultMapper<ProcessInstanceSearchRepresentation>
hitNode
- the full hit document node as being returned by Elasticsearchpublic ProcessInstanceSearchRepresentation convert(com.fasterxml.jackson.databind.JsonNode sourceNode)
ElasticsearchResultConverter.ResultMapper
convert
in interface ElasticsearchResultConverter.ResultMapper<ProcessInstanceSearchRepresentation>
sourceNode
- the source object as being returned within the Elasticsearch hit documentprotected ProcessInstanceSearchRepresentation convertWithoutEnhancer(com.fasterxml.jackson.databind.JsonNode jsonNode)
public List<ProcessInstanceResultMapper.Enhancer> getResultMapperEnhancers()
public void setResultMapperEnhancers(List<ProcessInstanceResultMapper.Enhancer> resultMapperEnhancers)