Package usecase.repository
Interface ActuatorRepository
- All Known Implementing Classes:
DigitalTwinManager
public interface ActuatorRepository
Interface that models the repository to manage Actuators.
-
Method Summary
Modifier and TypeMethodDescriptionfindActuatorInRoom
(ActuatorType actuatorType, RoomID roomID) Method to find an actuator of a specific type inside a room specified with its id.
-
Method Details
-
findActuatorInRoom
Method to find an actuator of a specific type inside a room specified with its id.- Parameters:
actuatorType
- the type of actuator to findroomID
- the room id where the actuator should be placed.- Returns:
- an optional that contains the actuator id if found, empty otherwise.
-