Interface ActionGenerator

All Superinterfaces:
Initializable
All Known Implementing Classes:
SingleProcGenerator

public interface ActionGenerator
Interface which generates actions to be be performed as part of a task on a schedule
  • Method Details

    • getFirstAction

      Action getFirstAction()
      This method is invoked only once to obtain the first action. The first action will be performed after a time interval has elapsed. After the action has been performed callback will be invoked with the result of this action. The return of the callback will be used as the next action.

      If this method throws an exception or returns null the task instance will halted and put into an error state.

      Returns:
      Action to perform
    • restrictProcedureByScope

      default boolean restrictProcedureByScope()
    • isReadOnly

      default boolean isReadOnly()