Class ThreadWrapper

    • Constructor Detail

      • ThreadWrapper

        public ThreadWrapper​(MainWindow mainWindow)
    • Method Detail

      • setThread

        public void setThread​(java.lang.Thread thread)
      • startThread

        public void startThread()
      • getThread

        public java.lang.Thread getThread()
      • isRunning

        public boolean isRunning()
        Specified by:
        isRunning in interface RunningAction
        Returns:
        true if this action is running.
      • getStartingTime

        public java.time.Instant getStartingTime()
        Specified by:
        getStartingTime in interface RunningAction
        Returns:
        Starting time of this action.
      • getDuration

        public java.time.Duration getDuration()
        Specified by:
        getDuration in interface RunningAction
        Returns:
        Current duration of this action.
      • getInformation

        public java.lang.String getInformation()
        Specified by:
        getInformation in interface RunningAction
        Returns:
        Information for this action.