Schnittstelle FxTaskTracker


public interface FxTaskTracker
Interface for tracking and updating the state, progress, title, and message of a task.
  • Methodendetails

    • updateTaskState

      void updateTaskState(Task<?> task, Worker.State state)
      Updates the state of the specified task.
      Parameter:
      task - the task whose state is to be updated
      state - the new state to be set for the task
      Siehe auch:
      • ProgressTracker.State
    • updateTaskProgress

      void updateTaskProgress(Task<?> task, double progress)
      Updates the progress of a given task.
      Parameter:
      task - The task for which the progress is being updated.
      progress - The current progress of the task, typically a value between 0.0 and 1.0.
    • updateTaskTitle

      void updateTaskTitle(Task<?> task, String title)
      Updates the title of a given task.
      Parameter:
      task - the task whose title needs to be updated
      title - the new title to set for the task
    • updateTaskMessage

      void updateTaskMessage(Task<?> task, String message)
      Updates the message associated with a specified task.
      Parameter:
      task - the task whose message is to be updated
      message - the new message to set for the task