104105106107108109110111112113
addMetric(cube, dataStore, definition); } private void addMetric(Cube cube, DataStore dataStore, MetricDefinition definition){ try { cube.add(new Metric(definition.getName())); } catch (Exception e) { } }