Class AddViolationTask

  • All Implemented Interfaces:
    java.lang.Runnable

    public class AddViolationTask
    extends ch.sahits.game.openpatrician.model.event.TimedTask
    Task for filing a city violation.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2015 Created on Jun 07, 2015
    • Constructor Summary

      Constructors 
      Constructor Description
      AddViolationTask​(ch.sahits.game.openpatrician.model.city.cityhall.ICityViolation violation, ch.sahits.game.openpatrician.model.city.cityhall.IAldermanOffice office, java.time.LocalDateTime electionTime)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      java.lang.String toString()  
      • Methods inherited from class ch.sahits.game.openpatrician.model.event.TimedTask

        canEqual, equals, getExecutionTime, getUuid, hashCode, setExecutionTime
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AddViolationTask

        public AddViolationTask​(ch.sahits.game.openpatrician.model.city.cityhall.ICityViolation violation,
                                ch.sahits.game.openpatrician.model.city.cityhall.IAldermanOffice office,
                                java.time.LocalDateTime electionTime)
    • Method Detail

      • run

        public void run()
      • toString

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