Interface ActuatorRepository

All Known Implementing Classes:
DigitalTwinManager

public interface ActuatorRepository
Interface that models the repository to manage Actuators.
  • Method Details

    • findActuatorInRoom

      Optional<ActuatorID> findActuatorInRoom(ActuatorType actuatorType, RoomID roomID)
      Method to find an actuator of a specific type inside a room specified with its id.
      Parameters:
      actuatorType - the type of actuator to find
      roomID - the room id where the actuator should be placed.
      Returns:
      an optional that contains the actuator id if found, empty otherwise.