java - how get a list of Triggers registered to a Quartz scheduler -


I need to create a GUI showing some sort of 'job queue'.

I dynamically trigger and schedule them with jobScheduler.scheduleJob (triggers); . I pass some data through trigger datamap too.

How can I return the list of triggers that have not yet come?

I found a way to get a current job, but there is no way to get a list of registered triggers.

Should I retain this list myself and carry out the luggage while executing the trigger while implementing the trigger listener?

Do I call JobStore built-in and getTriggerNames () or similar? But how can I get a jobstore? I have a scheduler example (actually a StdScheduler), and there is no way to get a Jobstore instance from it.

(I use the scheduler to get the scheduler from Fischer)

Okay, I'm just tired.

There is a method in the getTriggerNames () scheduler . So it solves my problem.


Comments