All Superinterfaces:
OceanusEventRegistrar.OceanusEventProvider<TethysUIThreadEvent>, TethysUIThreadStatusReport
All Known Implementing Classes:
TethysUICoreThreadManager

Thread Manager.
  • Method Details

    • getStatusManager

      TethysUIThreadStatusManager getStatusManager()
      Obtain the status manager.
      Returns:
      the status Manager
    • getTaskName

      String getTaskName()
      obtain the task name.
      Returns:
      the task name
    • hasWorker

      boolean hasWorker()
      Do we have a running thread.
      Returns:
      true/false
    • setReportingSteps

      void setReportingSteps(int pSteps)
      Set the thread Data.
      Parameters:
      pSteps - the reporting steps
    • getError

      Throwable getError()
      Get error.
      Returns:
      the error
    • setThreadData

      void setThreadData(Object pThreadData)
      Set the thread Data.
      Parameters:
      pThreadData - the threadData
    • getThreadData

      Object getThreadData()
      Obtain the thread data.
      Returns:
      the threadData
    • startThread

      <T> void startThread(TethysUIThread<T> pThread)
      Start a thread.
      Type Parameters:
      T - the thread result
      Parameters:
      pThread - the thread to start
    • shutdown

      void shutdown()
      Shut down the thread manager.
    • cancelWorker

      void cancelWorker()
      cancel the worker.
    • getActiveProfile

      OceanusProfile getActiveProfile()
      Obtain the active profile.
      Returns:
      the active profile
    • setNewProfile

      void setNewProfile(String pTask)
      Create new profile.
      Parameters:
      pTask - the name of the task