Search in sources :

Example 6 with DefaultResponseBuilder

use of org.kie.workbench.common.services.refactoring.backend.server.query.response.DefaultResponseBuilder in project kie-wb-common by kiegroup.

the class PackageDescrIndexVisitorIndexingTest method getQueries.

protected Set<NamedQuery> getQueries() {
    return new HashSet<NamedQuery>() {

        {
            add(new FindResourceReferencesQuery() {

                @Override
                public ResponseBuilder getResponseBuilder() {
                    return new DefaultResponseBuilder(ioService());
                }
            });
            add(new FindAllChangeImpactQuery() {

                @Override
                public ResponseBuilder getResponseBuilder() {
                    return new DefaultResponseBuilder(ioService());
                }
            });
        }
    };
}
Also used : FindAllChangeImpactQuery(org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindAllChangeImpactQuery) DefaultResponseBuilder(org.kie.workbench.common.services.refactoring.backend.server.query.response.DefaultResponseBuilder) ResponseBuilder(org.kie.workbench.common.services.refactoring.backend.server.query.response.ResponseBuilder) DefaultResponseBuilder(org.kie.workbench.common.services.refactoring.backend.server.query.response.DefaultResponseBuilder) FindResourceReferencesQuery(org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindResourceReferencesQuery) HashSet(java.util.HashSet)

Aggregations

HashSet (java.util.HashSet)6 DefaultResponseBuilder (org.kie.workbench.common.services.refactoring.backend.server.query.response.DefaultResponseBuilder)6 ResponseBuilder (org.kie.workbench.common.services.refactoring.backend.server.query.response.ResponseBuilder)6 FindAllChangeImpactQuery (org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindAllChangeImpactQuery)6 FindResourceReferencesQuery (org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindResourceReferencesQuery)3 FindResourcesQuery (org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindResourcesQuery)2 FindFormDefinitionIdsQuery (org.kie.workbench.common.forms.editor.backend.indexing.query.FindFormDefinitionIdsQuery)1 FindResourcePartReferencesQuery (org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindResourcePartReferencesQuery)1 FindBpmnProcessIdsQuery (org.kie.workbench.common.stunner.bpmn.backend.query.FindBpmnProcessIdsQuery)1