return missingMeasurements;
}
static Set<MeasurementScheduleRequest> getMeasurementScheduleRequests(Resource webRuntimeResource) {
Set<MeasurementDefinition> measurementDefinitions = getMeasurementDefinitions(
webRuntimeResource.getResourceType(), new MeasurementDefinitionFilter() {
private final Set<DataType> acceptableDataTypes = EnumSet.of(DataType.MEASUREMENT, DataType.TRAIT);
@Override
public boolean accept(MeasurementDefinition measurementDefinition) {
return acceptableDataTypes.contains(measurementDefinition.getDataType());