@Test public void testSetSensorTaskRepository() { SensorInstanceProvider provider = new SensorInstanceProvider(); SensorTaskRepository repository = new InMemorySensorTaskRepository(); provider.setSensorTaskRepository(repository); assertEquals(repository, provider.getSensorTaskRepository()); }
public void setSensorTaskRepository(SensorTaskRepository sensorTaskRepository) { this.sensorTaskRepository = sensorTaskRepository; }
SensorInstanceProvider implements InsertSensorOfferingListener { public void setSensorTaskRepository(SensorTaskRepository sensorTaskRepository) { this.sensorTaskRepository = sensorTaskRepository; } }
SensorInstanceProvider implements InsertSensorOfferingListener { public void setSensorTaskRepository(SensorTaskRepository sensorTaskRepository) { this.sensorTaskRepository = sensorTaskRepository; }  }
SensorInstanceProvider implements InsertSensorOfferingListener { public void setSensorTaskRepository(SensorTaskRepository sensorTaskRepository) { this.sensorTaskRepository = sensorTaskRepository; }  void init(); Iterable<SensorPlugin> getSensors(); boolean containsTaskWith(String taskId); SensorTask getTaskForTaskId(String taskId); boolean containsSensorWith(String procedure); SensorPlugin getSensorForProcedure(String procedure); SensorPlugin getSensorForTaskId(String taskId); SensorConfigurationRepository getSensorConfigurationRepository(); void setSensorConfigurationRepository(SensorConfigurationRepository sensorConfigurationRepository); SensorTaskRepository getSensorTaskRepository(); void setSensorTaskRepository(SensorTaskRepository sensorTaskRepository); void handleInsertSensorOffering(InsertSensorOfferingEvent insertSensorOfferingEvent); }
SensorInstanceProvider implements InsertSensorOfferingListener { public void setSensorTaskRepository(SensorTaskRepository sensorTaskRepository) { this.sensorTaskRepository = sensorTaskRepository; }  void init(); Iterable<SensorPlugin> getSensors(); boolean containsTaskWith(String taskId); SensorTask getTaskForTaskId(String taskId); boolean containsSensorWith(String procedure); SensorPlugin getSensorForProcedure(String procedure); SensorPlugin getSensorForTaskId(String taskId); SensorConfigurationRepository getSensorConfigurationRepository(); void setSensorConfigurationRepository(SensorConfigurationRepository sensorConfigurationRepository); SensorTaskRepository getSensorTaskRepository(); void setSensorTaskRepository(SensorTaskRepository sensorTaskRepository); void handleInsertSensorOffering(InsertSensorOfferingEvent insertSensorOfferingEvent);  }