public class TriggerProcess extends StandardClient implements ProxyObserver<Job>
agentisServer, MAIN_ARG_CONFIG, MAIN_ARG_CONNECT, MAIN_ARG_LOGFILE, MAIN_ARG_LOGLEVEL, MAIN_ARG_NONEWLOGSTREAM, MAIN_ARG_RESETIOR, MAIN_ARG_SKIPBOOTSTRAP| Constructor and Description |
|---|
TriggerProcess() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Job currentJob)
Receives Job from the AgentProxy.
|
protected org.quartz.JobDetail |
buildJobDetail(Job currentJob,
String jobID) |
protected void |
buildTriggersAndScehduleJob(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, loginreadC2KArgs, readPropertyFiles, setShutdownHandler, shutdownpublic 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(Job currentJob, String jobID)
currentJob - jobID - protected void buildTriggersAndScehduleJob(Job currentJob, String jobID)
currentJob - jobID - public void add(Job currentJob)
add in interface ProxyObserver<Job>public void control(String control, String msg)
control in interface ProxyObserver<Job>public void remove(String id)
remove in interface ProxyObserver<Job>public static void main(String[] args)
public String getDesc()
public static void shutdown()
Copyright © 1997–2021 CRISTAL-iSE. All rights reserved.