Search in sources :

Example 1 with FindResourcePartReferencesQuery

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

the class AssetsUsageServiceImplTest method getQueries.

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

        {
            add(new FindResourcePartReferencesQuery() {

                @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) FindResourcePartReferencesQuery(org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindResourcePartReferencesQuery) ResponseBuilder(org.kie.workbench.common.services.refactoring.backend.server.query.response.ResponseBuilder) DefaultResponseBuilder(org.kie.workbench.common.services.refactoring.backend.server.query.response.DefaultResponseBuilder) HashSet(java.util.HashSet)

Aggregations

HashSet (java.util.HashSet)1 DefaultResponseBuilder (org.kie.workbench.common.services.refactoring.backend.server.query.response.DefaultResponseBuilder)1 ResponseBuilder (org.kie.workbench.common.services.refactoring.backend.server.query.response.ResponseBuilder)1 FindAllChangeImpactQuery (org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindAllChangeImpactQuery)1 FindResourcePartReferencesQuery (org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindResourcePartReferencesQuery)1