Interface Trigger.TriggerAction

Enclosing interface:
Trigger

public static interface Trigger.TriggerAction
Action to run if the trigger decides that time for execution has come.
Since:
taskplanner 3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(Map<String,String> triggerProperties)
    Start the task if possible.
    default void
    run()
    Start the task if possible.
  • Method Details

    • execute

      Future<Void> execute(@Nullable Map<String,String> triggerProperties)
      Start the task if possible.
      Parameters:
      triggerProperties - optional properties of the trigger (values of placeholders)
      Returns:
      a reference to the running task job or null if the start is failing.
      Since:
      20.4
    • run

      default void run()
      Start the task if possible.