Class ClockManager


  • public class ClockManager
    extends Object
    • Constructor Detail

      • ClockManager

        public ClockManager()
    • Method Detail

      • getActiveTimerCount

        public long getActiveTimerCount()
      • getActiveStopwatchCount

        public long getActiveStopwatchCount()
      • checkCompletion

        public boolean checkCompletion()
        Checks if any timers have completed, and send notifications if required.
      • checkTimerOrder

        public boolean checkTimerOrder()
        Checks to ensure the timers are in the correct order. If they are not, sort them and rebuild the clock panel
        Returns:
        whether the timer order was changed or not
      • checkForWarnings

        public void checkForWarnings()
        Sets the warning flag on each timer that should be in the warning state
      • loadTimers

        public void loadTimers()
      • loadStopwatches

        public void loadStopwatches()
      • clear

        public void clear()
      • getTimers

        public List<net.runelite.client.plugins.timetracking.clocks.Timer> getTimers()
      • getStopwatches

        public List<net.runelite.client.plugins.timetracking.clocks.Stopwatch> getStopwatches()