Class JobStarter

java.lang.Object
de.uplanet.lucy.server.scheduler.JobStarter

@Scriptable public final class JobStarter extends Object
  • Method Details

    • startJob

      public static boolean startJob(String p_strGuid) throws InterruptedException
      Start a scheduler job asynchronously.
      Parameters:
      p_strGuid - The job GUID.
      Returns:
      true if the job was started, or false otherwise.
      Throws:
      InterruptedException - If the thread was interrupted.
    • startJob

      public static boolean startJob(String p_strGuid, Map<String,Object> p_params) throws InterruptedException
      Start a scheduler job asynchronously.
      Parameters:
      p_strGuid - The job GUID.
      p_params - Parameters to be passed to the shared state of a triggered workflow timer job.
      Returns:
      true if the job was started, or false otherwise.
      Throws:
      InterruptedException - If the thread was interrupted.