use of org.kie.workbench.common.services.refactoring.backend.server.query.response.DefaultResponseBuilder 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());
}
});
}
};
}
use of org.kie.workbench.common.services.refactoring.backend.server.query.response.DefaultResponseBuilder in project kie-wb-common by kiegroup.
the class FindResourceReferencesQueryValidIndexTermsTest 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());
}
});
}
};
}
use of org.kie.workbench.common.services.refactoring.backend.server.query.response.DefaultResponseBuilder in project kie-wb-common by kiegroup.
the class FormDefinitionIndexerTest method getQueries.
protected Set<NamedQuery> getQueries() {
return new HashSet<NamedQuery>() {
{
add(new FindResourcesQuery() {
@Override
public ResponseBuilder getResponseBuilder() {
return new DefaultResponseBuilder(ioService());
}
});
add(new FindAllChangeImpactQuery() {
@Override
public ResponseBuilder getResponseBuilder() {
return new DefaultResponseBuilder(ioService());
}
});
add(new FindFormDefinitionIdsQuery() {
@Override
public ResponseBuilder getResponseBuilder() {
return new FindFormDefinitionIdsQuery.FindFormDefinitionIdsResponseBuilder(ioService());
}
});
}
};
}
use of org.kie.workbench.common.services.refactoring.backend.server.query.response.DefaultResponseBuilder in project kie-wb-common by kiegroup.
the class BpmnFileIndexerTest method getQueries.
protected Set<NamedQuery> getQueries() {
return new HashSet<NamedQuery>() {
{
add(new FindResourcesQuery() {
@Override
public ResponseBuilder getResponseBuilder() {
return new DefaultResponseBuilder(ioService());
}
});
add(new FindAllChangeImpactQuery() {
@Override
public ResponseBuilder getResponseBuilder() {
return new DefaultResponseBuilder(ioService());
}
});
add(new FindBpmnProcessIdsQuery() {
@Override
public ResponseBuilder getResponseBuilder() {
return new FindBpmnProcessIdsQuery.BpmnProcessIdsResponseBuilder(ioService());
}
});
}
};
}
use of org.kie.workbench.common.services.refactoring.backend.server.query.response.DefaultResponseBuilder in project kie-wb-common by kiegroup.
the class ImpactAnalysisJavaFileTest 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());
}
});
}
};
}
Aggregations