Jagger
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
Set<MetricEntity> com.griddynamics.jagger.engine.e1.services.DefaultDataService.getMetrics ( Long  testId)

Returns all metric entities for specify test id.

Parameters
testId- test id
Returns
list of metric entities
Author
Gribov Kirill

Implements com.griddynamics.jagger.engine.e1.services.DataService.

Definition at line 205 of file DefaultDataService.java.

References com.griddynamics.jagger.engine.e1.services.DefaultDataService.getMetricsByTestIds().

205  {
206  Map<Long, Set<MetricEntity>> map = getMetricsByTestIds(Arrays.asList(testId));
207 
208  Set<MetricEntity> result = map.get(testId);
209  if (result != null) {
210  return result;
211  }
212 
213  return Collections.emptySet();
214  }

Here is the call graph for this function: