Package de.uplanet.lucy.server.scheduler
Class JobStarter
- java.lang.Object
-
- de.uplanet.lucy.server.scheduler.JobStarter
-
@Scriptable public final class JobStarter extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
startJob(String p_strGuid)
Start a scheduler job asynchronously.static boolean
startJob(String p_strGuid, Map<String,Object> p_jobParams)
-
-
-
Method Detail
-
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, orfalse
otherwise.- Throws:
InterruptedException
- If the thread was interrupted.
-
startJob
public static boolean startJob(String p_strGuid, Map<String,Object> p_jobParams) throws InterruptedException
- Throws:
InterruptedException
-
-