Class AbstractWeatherDeviceState

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void processChanges​(AbstractWeatherDevice abstractWeatherDevice)
      The method, depending on the temperature of the house and the state of the device, implements a different logic of the device's behavior.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractWeatherDeviceState

        public AbstractWeatherDeviceState()
    • Method Detail

      • processChanges

        public abstract void processChanges​(AbstractWeatherDevice abstractWeatherDevice)
        The method, depending on the temperature of the house and the state of the device, implements a different logic of the device's behavior.
        Parameters:
        abstractWeatherDevice - dto