[
http://jira.jboss.com/jira/browse/JBSEAM-1450?page=comments#action_12365676 ]
Michael Yuan commented on JBSEAM-1450:
--------------------------------------
Hmm, okay. I guess we should keep the complexity to minimum. :)
The trigger I wanted to support is the "Nth day trigger", which allows you to
fire on the Nth business day of each month / week etc. The trigger needs an associated
"calendar" to mark the "holidays". So, perhaps we can introduce the
following additional parameter annotations to support this feature (it fires at noon on
the nth business way of the specified interval type):
@BusinessDay int n,
@Holidays List <Date> holidays,
@IntervalType int WEEKLY / MONTHLY / YEARLY
The @IntervalType annotation can be used in other scheduler implementations as a short cut
to the millisecond values.
Or, is this still too complicated?
Pass Quartz Trigger and end time in @Asynchronous methods
---------------------------------------------------------
Key: JBSEAM-1450
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1450
Project: JBoss Seam
Issue Type: Task
Components: Core
Reporter: Michael Yuan
Assigned To: Michael Yuan
Fix For: 1.3.0.BETA1
We should write a QuartzTriggerSchedule class to wrap a Quartz Trigger. It would allow
the user to build their own triggers and then use @Trigger trigger to pass to a async
method. We can provide that in addition to the current support for fixed interval and cron
jobs.
Also, we should support a @End parameter to specify the end date of the repeating task.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira