Class ClearCityEventTask

  • All Implemented Interfaces:
    java.lang.Runnable

    public class ClearCityEventTask
    extends TimedTask
    Timed task to clear a city event.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2018 Created on Feb 03, 2018
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private ICity city  
    • Constructor Summary

      Constructors 
      Constructor Description
      ClearCityEventTask​(java.time.LocalDateTime executionTime, ICity city)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • city

        private final ICity city
    • Constructor Detail

      • ClearCityEventTask

        public ClearCityEventTask​(java.time.LocalDateTime executionTime,
                                  ICity city)
    • Method Detail

      • run

        public void run()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object