Class ScheduleTaskDialogFactory

java.lang.Object
de.espirit.firstspirit.server.scheduler.ScheduleTaskDialogFactory

public abstract class ScheduleTaskDialogFactory extends Object
Factory to create a task dialog.
Since:
4.2.38
  • Constructor Details

    • ScheduleTaskDialogFactory

      public ScheduleTaskDialogFactory(@NotNull @NotNull ScheduleTask task)
      Constructor based on a task.
      Parameters:
      task - The task.
      Since:
      4.2.38
  • Method Details

    • getTask

      @NotNull protected final @NotNull ScheduleTask getTask()
      Provides the task the dialog will be based upon.
      Returns:
      The task.
      Since:
      4.2.38
    • createDialog

      @NotNull public abstract @NotNull ScheduleTaskDialog createDialog(@NotNull @NotNull Host host)
      Creates a dialog instance based on the given host.
      Parameters:
      host - The host.
      Since:
      4.2.38