Interface IProcessTaskDelegate

All Known Implementing Classes:
ProcessTaskDelegate

public interface IProcessTaskDelegate
This interface defines the methods that need to be implemented by a delegate that can handle automated tasks.
Since:
7.1
Author:
J. van Leuven
  • Method Details

    • executeAutomaticTask

      String executeAutomaticTask(IProcessTask task, IProcessEngine engine, String testPath)
      This method should implement the handling of an automatic task for the specified task.
      Parameters:
      task - The automatic task, never null.
      engine - The process engine, never null.
      testPath - the test path, optional
      Returns:
      The task exit event, may be null.
      Throws:
      AppException - Should be thrown when the execution of the automatic task failed.
    • getAutomaticUser

      IUserData getAutomaticUser()
      This method should return the user that should be used when the automatic task is assigned.
      Returns:
      The automatic task user.