Class AldermanOffice

  • All Implemented Interfaces:
    IAldermanOffice

    @Component
    @Lazy
    public class AldermanOffice
    extends java.lang.Object
    implements IAldermanOffice
    Author:
    Andi Hotz, (c) Sahits GmbH, 2014 Created on Dec 31, 2014
    • Constructor Detail

      • AldermanOffice

        public AldermanOffice()
    • Method Detail

      • addTask

        public void addTask​(IAldermanTask task,
                            java.time.LocalDateTime limit,
                            IPlayer player)
        Description copied from interface: IAldermanOffice
        Add a new task that is currently worked on.
        Specified by:
        addTask in interface IAldermanOffice
        Parameters:
        task - that is to be fullfiled.
        limit - time limit until when the task has to be completed
        player - who is working on the task