Package org.cristalise.trigger
Class TriggerProcess
java.lang.Object
org.cristalise.kernel.process.AbstractMain
org.cristalise.kernel.process.StandardClient
org.cristalise.trigger.TriggerProcess
-
Field Summary
Fields inherited from class org.cristalise.kernel.process.StandardClient
agentFields inherited from class org.cristalise.kernel.process.AbstractMain
isServer, MAIN_ARG_CONFIG, MAIN_ARG_CONNECT, MAIN_ARG_SKIPBOOTSTRAP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidReceives Job from the AgentProxy.protected org.quartz.JobDetailbuildJobDetail(Job currentJob, String jobID) protected voidbuildTriggersAndScehduleJob(Job currentJob, String jobID) voidstatic voidvoidJob removal notification from the AgentProxy.voidMethods inherited from class org.cristalise.kernel.process.StandardClient
createClientVerticles, getRequiredStateMachine, login, standardInitialisation, standardInitialisationMethods inherited from class org.cristalise.kernel.process.AbstractMain
readC2KArgs, readPropertyFiles, setShutdownHandler, shutdown
-
Constructor Details
-
TriggerProcess
- Throws:
InvalidDataException- Invalid data
-
-
Method Details
-
initialise
- Throws:
org.quartz.SchedulerException- Scheduler errorObjectNotFoundException
-
shutdownScheduler
public void shutdownScheduler() throws org.quartz.SchedulerException- Throws:
org.quartz.SchedulerException- Scheduler error
-
buildJobDetail
- Parameters:
currentJob-jobID-- Returns:
- JobDetail
-
buildTriggersAndScehduleJob
- Parameters:
currentJob-jobID-
-
add
Receives Job from the AgentProxy. Reactivates thread if sleeping. -
remove
Job removal notification from the AgentProxy. -
main
-