public class TriggerProcess
extends org.cristalise.kernel.process.StandardClient
implements org.cristalise.kernel.entity.proxy.ProxyObserver<org.cristalise.kernel.entity.agent.Job>
| Constructor and Description |
|---|
TriggerProcess() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.cristalise.kernel.entity.agent.Job currentJob)
Receives Job from the AgentProxy.
|
protected org.quartz.JobDetail |
buildJobDetail(org.cristalise.kernel.entity.agent.Job currentJob,
String jobID) |
protected void |
buildTriggersAndScehduleJob(org.cristalise.kernel.entity.agent.Job currentJob,
String jobID) |
void |
control(String control,
String msg)
Job control messages, could be errors as well
|
String |
getDesc() |
void |
initialise() |
static void |
main(String[] args) |
void |
remove(String id)
Job removal notification from the AgentProxy.
|
static void |
shutdown() |
void |
shutdownScheduler() |
getRequiredStateMachine, loginpublic TriggerProcess()
throws org.cristalise.kernel.common.InvalidDataException
org.cristalise.kernel.common.InvalidDataException - Invalid datapublic void initialise()
throws org.quartz.SchedulerException
org.quartz.SchedulerException - Scheduler errorpublic void shutdownScheduler()
throws org.quartz.SchedulerException
org.quartz.SchedulerException - Scheduler errorprotected org.quartz.JobDetail buildJobDetail(org.cristalise.kernel.entity.agent.Job currentJob,
String jobID)
currentJob - jobID - protected void buildTriggersAndScehduleJob(org.cristalise.kernel.entity.agent.Job currentJob,
String jobID)
currentJob - jobID - public void add(org.cristalise.kernel.entity.agent.Job currentJob)
add in interface org.cristalise.kernel.entity.proxy.ProxyObserver<org.cristalise.kernel.entity.agent.Job>public void control(String control, String msg)
control in interface org.cristalise.kernel.entity.proxy.ProxyObserver<org.cristalise.kernel.entity.agent.Job>public void remove(String id)
remove in interface org.cristalise.kernel.entity.proxy.ProxyObserver<org.cristalise.kernel.entity.agent.Job>public static void main(String[] args)
public String getDesc()
public static void shutdown()
Copyright © 2018 CRISTAL-iSE. All rights reserved.