Interface ScheduleTaskForm.ScheduleTaskConfiguration<D extends ScheduleTaskData>

Enclosing interface:
ScheduleTaskForm<D extends ScheduleTaskData>

@NonExtendable public static interface ScheduleTaskForm.ScheduleTaskConfiguration<D extends ScheduleTaskData>
Container holding configuration information of a schedule task.
Since:
5.2.14
  • Method Summary

    Modifier and Type
    Method
    Description
    Provides a container on custom data stored with the task.
    @Nullable String
    Provides a description of the task.
    @NotNull String
    Provides the name of the task.
    void
    Sets the custom data to be stored for a task.
    void
    setDescription(String description)
    Defines the description of the task.
    void
    setName(@NotNull String name)
    Defines the name of the task.
  • Method Details

    • getCustomData

      @Nullable D getCustomData()
      Provides a container on custom data stored with the task.
      Returns:
      The custom data.
      Since:
      5.2.14
    • setCustomData

      void setCustomData(D data)
      Sets the custom data to be stored for a task.
      Parameters:
      data - The custom data.
      Since:
      5.2.14
    • getName

      @NotNull @NotNull String getName()
      Provides the name of the task.
      Returns:
      The task's name.
      Since:
      5.2.14
    • setName

      void setName(@NotNull @NotNull String name)
      Defines the name of the task.
      Parameters:
      name - The name to be used.
      Since:
      5.2.14
    • getDescription

      @Nullable @Nullable String getDescription()
      Provides a description of the task.
      Returns:
      The task's description.
      Since:
      5.2.14
    • setDescription

      void setDescription(String description)
      Defines the description of the task.
      Parameters:
      description - The description to be used.
      Since:
      5.2.14