Class InstantDashboardMetadataReaderES
java.lang.Object
io.camunda.optimize.service.db.es.reader.InstantDashboardMetadataReaderES
- All Implemented Interfaces:
InstantDashboardMetadataReader
@Component
@Conditional(io.camunda.optimize.service.util.configuration.condition.ElasticSearchCondition.class)
public class InstantDashboardMetadataReaderES
extends Object
implements InstantDashboardMetadataReader
-
Constructor Summary
ConstructorsConstructorDescriptionInstantDashboardMetadataReaderES(OptimizeElasticsearchClient esClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptiongetInstantDashboardIdFor(String processDefinitionKey, String template)
-
Constructor Details
-
InstantDashboardMetadataReaderES
public InstantDashboardMetadataReaderES(OptimizeElasticsearchClient esClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getInstantDashboardIdFor
public Optional<String> getInstantDashboardIdFor(String processDefinitionKey, String template) throws OptimizeRuntimeException - Specified by:
getInstantDashboardIdForin interfaceInstantDashboardMetadataReader- Throws:
OptimizeRuntimeException
-